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: String.capwords() does not capitalize first word
Type: Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, saatvik
Priority: normal Keywords:

Created on 2007-08-03 22:48 by saatvik, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg32584 - (view) Author: Saatvik Agarwal (saatvik) Date: 2007-08-03 22:48
Perhaps not the right category...nothing major but I noticed that string.capwords does not capitalize the first character of the first word of the string.

Email: legolas@stanford.edu
msg32585 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-08-04 06:50
Note that for byte strings, only letters in [a-z] will be correctly upcased.
If you want it to handle arbitrary letters correctly, use unicode strings.
History
Date User Action Args
2022-04-11 14:56:25adminsetgithub: 45273
2007-08-03 22:48:45saatvikcreate