Help me understand this

James Stroud jstroud at mbi.ucla.edu
Tue Jan 30 13:30:07 CET 2007


Beej wrote:
>>>> (2).__add__(1)

Nice. I would have never thought to put parentheses around an integer to 
get at its attributes.

James



More information about the Python-list mailing list