summaryrefslogtreecommitdiff
path: root/Lib/test/test_exceptions.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-06-09 02:31:10 +0300
committerGitHub <noreply@github.com>2021-06-08 16:31:10 -0700
commit2ea6d890281c415e0a2f00e63526e592da8ce3d9 (patch)
tree0aff5648b72d3c7b4557408f8adfce932c59a237 /Lib/test/test_exceptions.py
parent3e1c7167d86a2a928cdcb659094aa10bb5550c4c (diff)
downloadcpython-git-2ea6d890281c415e0a2f00e63526e592da8ce3d9.tar.gz
bpo-43833: Emit warnings for numeric literals followed by keyword (GH-25466)
Emit a deprecation warning if the numeric literal is immediately followed by one of keywords: and, else, for, if, in, is, or. Raise a syntax error with more informative message if it is immediately followed by other keyword or identifier. Automerge-Triggered-By: GH:pablogsal
Diffstat (limited to 'Lib/test/test_exceptions.py')
0 files changed, 0 insertions, 0 deletions