Using '__mul__' within a class

jepler at jepler at
Sat Sep 24 22:45:37 CEST 2005


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list