Nick Coghlan added the comment:
The simpler approach Chris has taken here (i.e. just leaving the string methods
separate from the class definition) also works.
Patch looks good to me - I'm definitely in favour of moving towards a more
consistent approach of having the builtin function definitions reference to
full class definitions (as shown by the changes I made to the docs for the
other sequence types).
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list