Augmented assignment augmentation?
Emile van Sebille
emile at fenx.com
Fri Sep 22 05:28:59 EDT 2000
More information about the Python-list mailing list
Fri Sep 22 05:28:59 EDT 2000
- Previous message (by thread): Python 2.0 naive question
- Next message (by thread): Augmented assignment augmentation?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Manus Hand" <mjhand at concentric.net> wrote in message news:39CAE8B9.C53FBF98 at concentric.net... <snip> > So that: > line = line.upper() > could be written: > line .= upper() > Why not take it a step further to match list sorts: line.upper() Or allow the in place list functions with augmented assignment: myList.sort() becomes: myList .= sort() -- Emile van Sebille emile at fenx.com -------------------
- Previous message (by thread): Python 2.0 naive question
- Next message (by thread): Augmented assignment augmentation?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list