Christian Heimes <li...@cheimes.de> added the comment:
This behavior is documented, https://docs.python.org/3/library/stdtypes.html#str.title > The algorithm uses a simple language-independent definition of a word as > groups of consecutive letters. The definition works in many contexts but it > means that apostrophes in contractions and possessives form word boundaries, > which may not be the desired result The documentation also mentions a workaround. ---------- nosy: +christian.heimes resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43408> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com