gh-125461: Remove Python 2 from identifiers in doc (GH-125462)

Remove Python 2 from identifiers in doc
This commit is contained in:
Paul Hoffman 2024-10-14 08:26:57 -07:00 committed by GitHub
parent d5dbbf4372
commit 5dac0dceda
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 3 deletions

View File

@ -284,11 +284,10 @@ UAX-31, with elaboration and changes as defined below; see also :pep:`3131` for
further details. further details.
Within the ASCII range (U+0001..U+007F), the valid characters for identifiers Within the ASCII range (U+0001..U+007F), the valid characters for identifiers
are the same as in Python 2.x: the uppercase and lowercase letters ``A`` through include the uppercase and lowercase letters ``A`` through
``Z``, the underscore ``_`` and, except for the first character, the digits ``Z``, the underscore ``_`` and, except for the first character, the digits
``0`` through ``9``. ``0`` through ``9``.
Python 3.0 introduced additional characters from outside the ASCII range (see
Python 3.0 introduces additional characters from outside the ASCII range (see
:pep:`3131`). For these characters, the classification uses the version of the :pep:`3131`). For these characters, the classification uses the version of the
Unicode Character Database as included in the :mod:`unicodedata` module. Unicode Character Database as included in the :mod:`unicodedata` module.