[issue31841] Several methods of collections.UserString do not return instances of UserString or its subclasses
Dmitry Kazakov
report at bugs.python.org
Wed Nov 22 08:04:32 EST 2017
Dmitry Kazakov <waultah+py at gmail.com> added the comment:
I added a PR.
FWIW, I still think it would make sense to change the return type of UserString.join, and maybe *split* and *partition methods (to return list/tuple of UserString objects) for the sake of consistency.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31841>
_______________________________________
More information about the Python-bugs-list
mailing list