[issue7008] str.title() misbehaves with apostrophes

Antoine Pitrou report at bugs.python.org
Tue Sep 29 12:34:26 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

> This algorithm should be implemented anyway, to properly solve
> issue6412.

Sure, but it should be another function, which might have its place in
the wordwrap module.

capwords() itself could be deprecated, since it's an obvious one-liner.
Replacing in with another method, however, will just confuse and annoy
existing users.

----------

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


More information about the Python-bugs-list mailing list