]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-125461: Remove Python 2 from identifiers in doc (GH-125462)
authorPaul Hoffman <phoffman@proper.com>
Mon, 14 Oct 2024 15:26:57 +0000 (08:26 -0700)
committerGitHub <noreply@github.com>
Mon, 14 Oct 2024 15:26:57 +0000 (15:26 +0000)
Remove Python 2 from identifiers in doc

Doc/reference/lexical_analysis.rst

index ae5408ee386bbd3e1e4a052e479b3c425caf705a..f7167032ad7df98931a8e64e461ac2cc4c12ffcd 100644 (file)
@@ -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.