Skip to content

Commit

Permalink
pythongh-125461: Remove Python 2 from identifiers in doc (pythonGH-12…
Browse files Browse the repository at this point in the history
…5462)

Remove Python 2 from identifiers in doc
  • Loading branch information
paulehoffman authored Oct 14, 2024
1 parent d5dbbf4 commit 5dac0dc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Doc/reference/lexical_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,10 @@ UAX-31, with elaboration and changes as defined below; see also :pep:`3131` for
further details.

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
``0`` through ``9``.

Python 3.0 introduces additional characters from outside the ASCII range (see
Python 3.0 introduced additional characters from outside the ASCII range (see
:pep:`3131`). For these characters, the classification uses the version of the
Unicode Character Database as included in the :mod:`unicodedata` module.

Expand Down

0 comments on commit 5dac0dc

Please sign in to comment.