[issue9091] str.capitalize() should not lower the rest of the string

2010-07-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Updated the docstrings in r82573. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue9091] str.capitalize() should not lower the rest of the string

2010-07-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Fixed it in r82570. Hyper linking lowered was leading to something like str.lower ed. So, I simply left it. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tra

[issue9091] str.capitalize() should not lower the rest of the string

2010-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I disagree and recommend adding " and the rest lowered". 'lower' could be marked as a reference to the .lower method. If one interprets 'capitalized' as an adjective describing the result, then it is fairly clear. If one interprets it as describing a process a

[issue9091] str.capitalize() should not lower the rest of the string

2010-06-26 Thread Senthil Kumaran
Senthil Kumaran added the comment: Capitalization is a language property, it is not Python specific. By Definition, except for first letter every thing else is lower cased. http://en.wikipedia.org/wiki/Capitalization So, Python documentation assumes that it is understood (or can referred to i

[issue9091] str.capitalize() should not lower the rest of the string

2010-06-26 Thread R. David Murray
R. David Murray added the comment: The doc looks pretty clear to me: "return a copy of the string with *only* its first character capitalized." I don't offhand see how we could make that clearer. Maybe we should actually put the emphasis on the 'only' into the doc markup? That doesn't feel

[issue9091] str.capitalize() should not lower the rest of the string

2010-06-26 Thread Esteban Feldman
New submission from Esteban Feldman : As per documentation: I doesn't say anything on lower the rest of the string. Is this the expected behavior? ** str.capitalize()ΒΆ Return a copy of the string with only its first character capitalized. For 8-bit strings, this method is locale-dependent. **