[Python-ideas] Fwd: [RFC] draft PEP: Dedicated infix operators for matrix multiplication and matrix power

Skip Montanaro skip at pobox.com
Fri Mar 14 21:51:10 CET 2014


On Fri, Mar 14, 2014 at 3:15 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> The method name for "*" is "__mul__" rather than "__star__"

Yes, but
​just think. W
ith a couple extra "@"s we could
​start defining
 __ratatatat__<http://www.merriam-webster.com/audio.php?file=ratata02&word=rat-a-tat-tat&text=%5C%CB%8Cra-t%C9%99-%CB%8Cta(t)-%CB%88tat%5C>
​ methods.​
​​ :-)

Skip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140314/d12ac5b4/attachment.html>


More information about the Python-ideas mailing list