Help me understand this
Christophe
chris.cavalaria at free.fr
Wed Jan 31 05:33:39 EST 2007
More information about the Python-list mailing list
Wed Jan 31 05:33:39 EST 2007
- Previous message (by thread): Help me understand this
- Next message (by thread): Help me understand this
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
James Stroud a écrit : > Beej wrote: >>>>> (2).__add__(1) > > Nice. I would have never thought to put parentheses around an integer to > get at its attributes. > > James You can also do it like that : >>> 2 .__add__(1) 3
- Previous message (by thread): Help me understand this
- Next message (by thread): Help me understand this
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list