New submission from Peter Farson:

Here's an example:
I'd like to be able to reverse a list for iterating...
for i in range(10).reverse()

This could work if reverse method returned self, but currently it
doesn't return anything.  I think the overhead is slight and worth it.

----------
components: None
messages: 58973
nosy: eukaryot
severity: normal
status: open
title: feature request: methods that modify instances should return instance
type: behavior
versions: Python 2.5

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1691>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to