On Friday, August 19, 2016 at 12:59:09 AM UTC+12, ast wrote: > I wonder why calling a method on an integer > doesn't work ?
Sure it does.
>>> 2 + 5
7
>>> (2).__add__(5)
7
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, August 19, 2016 at 12:59:09 AM UTC+12, ast wrote: > I wonder why calling a method on an integer > doesn't work ?
Sure it does.
>>> 2 + 5
7
>>> (2).__add__(5)
7
--
https://mail.python.org/mailman/listinfo/python-list