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.
Created on 2012年08月24日 00:52 by mesheb82, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg168969 - (view) | Author: mesheb82 (mesheb82) | Date: 2012年08月24日 00:52 | |
I got unexpected results when working with a string that has an apostrophe in it. "Joe's".title() >> "Joe'S" 'Joe"s'.title() >> 'Joe"S' |
|||
| msg168970 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2012年08月24日 00:55 | |
This is a known "issue", see http://docs.python.org/library/stdtypes.html#str.title |
|||
| msg168972 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2012年08月24日 01:30 | |
This is a duplicate of issue 7008. See also issue 6412, which offers some small hope that some day there may be an algorithm that can fix this. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:35 | admin | set | github: 59978 |
| 2012年08月24日 01:30:01 | r.david.murray | set | status: open -> closed superseder: str.title() misbehaves with apostrophes nosy: + r.david.murray messages: + msg168972 resolution: duplicate stage: resolved |
| 2012年08月24日 00:55:33 | ezio.melotti | set | nosy:
+ ezio.melotti messages: + msg168970 |
| 2012年08月24日 00:52:18 | mesheb82 | create | |