This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Doc description of str.title() upper case vs. title case.
Type: Stage:
Components: Documentation Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, grant.b.edwards, serhiy.storchaka, xtreak
Priority: normal Keywords:

Created on 2021-03-21 16:11 by grant.b.edwards, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg389242 - (view) Author: Grant Edwards (grant.b.edwards) Date: 2021-03-21 16:11
The documentation for str.title() states that the first character in each world is converted to upper case. That is not correct for recent versions of Python. The first character in each word is converted to title case. Title and upper may be the same for English/ASCII, but other languages have characters for which upper and title case are different.
msg389246 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2021-03-21 16:26
There was recent change to str.capitalize. I am not sure if Serhiy was referring to this doc change in https://bugs.python.org/issue36549#msg339570
History
Date User Action Args
2022-04-11 14:59:43adminsetgithub: 87750
2021-03-21 16:26:49xtreaksetnosy: + serhiy.storchaka, xtreak
messages: + msg389246
2021-03-21 16:11:00grant.b.edwardscreate