Skip to content

Commit f1a6f68

Browse files
[3.12] gh-125461: Remove Python 2 from identifiers in doc (GH-125462) (#125465)
gh-125461: Remove Python 2 from identifiers in doc (GH-125462) Remove Python 2 from identifiers in doc (cherry picked from commit 5dac0dc) Co-authored-by: Paul Hoffman <phoffman@proper.com>
1 parent 21524ee commit f1a6f68

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/reference/lexical_analysis.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,10 @@ UAX-31, with elaboration and changes as defined below; see also :pep:`3131` for
284284
further details.
285285

286286
Within the ASCII range (U+0001..U+007F), the valid characters for identifiers
287-
are the same as in Python 2.x: the uppercase and lowercase letters ``A`` through
287+
include the uppercase and lowercase letters ``A`` through
288288
``Z``, the underscore ``_`` and, except for the first character, the digits
289289
``0`` through ``9``.
290-
291-
Python 3.0 introduces additional characters from outside the ASCII range (see
290+
Python 3.0 introduced additional characters from outside the ASCII range (see
292291
:pep:`3131`). For these characters, the classification uses the version of the
293292
Unicode Character Database as included in the :mod:`unicodedata` module.
294293

0 commit comments

Comments
 (0)