On 3 June 2017 at 21:55, MRAB <[email protected]> wrote: > [...] >> > > Interestingly, '_' doesn't have that property, although Python does allow > identifiers to start with it.
Yes, it is special cased:
if (!_PyUnicode_IsXidStart(first) && first != 0x5F /* LOW LINE */)
return 0;
--
Ivan
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
