[issue25652] collections.UserString.__rmod__() raises NameError

Xiang Zhang report at bugs.python.org
Wed Nov 18 02:19:37 EST 2015


Xiang Zhang added the comment:

Quite sorry for making some mistakes. unicodeobject does get a __radd__ method. It is added by addoperators though I cannot see it in PyNumberMethods. Now I think just fixing the typo is enough.

----------
Added file: http://bugs.python.org/file41066/collections.UserString1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25652>
_______________________________________


More information about the Python-bugs-list mailing list