[Python-Dev] PEP 461 and __imod__

Ethan Furman ethan at stoneleaf.us
Sun Jan 18 04:12:38 CET 2015


I have % (__mod__) working for both bytes and bytearray (yay!), but I cannot find nor figure out how to tell the
bytearray object that 'xyz' is the __imod__ function.

Any pointers?

--
~Ethan~



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150117/16fe3973/attachment.sig>


More information about the Python-Dev mailing list