Using '__mul__' within a class
jepler at unpythonic.net
jepler at unpythonic.net
Sat Sep 24 16:45:37 EDT 2005
Oops!
I should have used '2' in the example, or some other number.
I was trying to make a point about what
x *= ...
means when it is in the context of a function (or method) body.
I think this is key to understanding what Python did in the case the user posted.
Being rude wasn't my intent at all.
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050924/d23e2e32/attachment.sig>
More information about the Python-list
mailing list