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 -- http://mail.python.org/mailman/listinfo/python-list