.title() - annoying mistake

Chris Angelico rosuav at gmail.com
Sun Mar 21 15:04:07 EDT 2021


On Mon, Mar 22, 2021 at 5:40 AM Benjamin Schollnick
<bschollnick at schollnick.net> wrote:
> Heck, how do we prevent it from titlecasing abbreviations?  (This is plain text not XML….  If it was XML it would be easy!)

We haven't managed to teach humans how to do that, so I doubt we'll
ever teach a simple standard library function to do it.

*cough*XMLHttpRequest*cough*

ChrisA


More information about the Python-list mailing list