[ python-Bugs-1767363 ] String.capwords() does not capitalize first word

SourceForge.net noreply at sourceforge.net
Sat Aug 4 08:50:20 CEST 2007


Bugs item #1767363, was opened at 2007-08-03 22:48
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1767363&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.6
>Status: Closed
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Saatvik Agarwal (saatvik)
Assigned to: Nobody/Anonymous (nobody)
Summary: String.capwords() does not capitalize first word

Initial Comment:
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 at stanford.edu

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2007-08-04 06:50

Message:
Logged In: YES 
user_id=849994
Originator: NO

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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1767363&group_id=5470


More information about the Python-bugs-list mailing list