print('\N{flag: Mauritius}') not supported in py3.9

Chris Angelico rosuav at gmail.com
Sun Nov 28 09:02:40 EST 2021


On Mon, Nov 29, 2021 at 12:29 AM Abdur-Rahmaan Janhangeer
<arj.python at gmail.com> wrote:
>
> Greetings,
>
> I get you but why do the short names work for some and not for
> others?
>

Which ones work? The ones that can be identified by a single
codepoint? Look at the specification for Python's \N escapes.

ChrisA


More information about the Python-list mailing list