When the following is run:
s='the Los Angeles Symphony';
s.capitalize();
it displays 'The los angeles symphony'
instead of 'The Los Angeles Symphony'
the str.capitalize() should only deal with the first letter, not lower-case the rest of the letters. The manual correctly describes this, but the actual behavior is not consistent with this description.
|