[Python-bugs-list] [ python-Bugs-571767 ] string.capitlize() documentation

noreply@sourceforge.net noreply@sourceforge.net
Thu, 20 Jun 2002 14:20:01 -0700


Bugs item #571767, was opened at 2002-06-20 15:03
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=571767&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Matthew Cowles (mdcowles)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: string.capitlize() documentation

Initial Comment:
(Brought up on python-help)

The documentation for string.capitalize() says:

capitalize(word)
Capitalize the first character of the argument.

while it should really say what the documentation for
the corresponding string method says:

capitalize()
Return a copy of the string with only its first
character capitalized. 

since it makes the rest of the string lowercase.

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-06-20 17:20

Message:
Logged In: YES 
user_id=3066

Fixed in Doc/lib/libstring.tex revisions 1.47, 1.45.8.2, and
1.42.4.2.

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

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