Could you give an example of an object that has no name ? I've missed something ...def foo(): return 5 print(foo()) The int object 5 has no name here.
Cool. I was thinking that "5" was the name, but
>>> 5.__add__(6)
File "<stdin>", line 1
5.__add__(6)
^
SyntaxError: invalid syntax
while
>>> a=5
>>> a.__add__(6)
11
Very well. I learned something today.
Thanks
Laurent
--
http://mail.python.org/mailman/listinfo/python-list
