8000 gh-125461: Remove Python 2 from identifiers in doc (GH-125462) · python/cpython@5dac0dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 5dac0dc

Browse files
authored
gh-125461: Remove Python 2 from identifiers in doc (GH-125462)
Remove Python 2 from identifiers in doc
1 parent d5dbbf4 commit 5dac0dc

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)
0