On Sun, Mar 21, 2021 at 10:31 PM Robert Latest via Python-list
<python-list@python.org> wrote:
>
> Chris Angelico wrote:
> > On Sun, Mar 21, 2021 at 4:31 AM Robert Latest via Python-list
> ><python-list@python.org> wrote:
> >>
> >> Mats Wichmann wrote:
> >> > The problem is that there isn't a standard for title case,
> >>
> >> The problem is that we owe the very existence of the .title() method to too
> >> much weed being smoked during Python development. It makes specific
> >> assumptions about a specific use case of one specific language. It doesn't
> >> get more idiotic, frankly.
> >>
> >
> > The problem is that you haven't read the documentation :) It very carefully
> > does NOT define itself by language, and its behaviour is identical 
> > regardless
> > of the language used.
>
> The documentation says: "The algorithm uses a simple language-independent
> definition of a word as groups of consecutive letters..."
>
> Yes, I get that. But the purpose it (improperly) serves only makes sense in 
> the
> English language.

Why? Do titles not exist in other languages? Does no other language
capitalize words in book or other titles?

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to