summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-06-08 23:31:10 (GMT)
committerGitHub <noreply@github.com>2021-06-08 23:31:10 (GMT)
commit2ea6d890281c415e0a2f00e63526e592da8ce3d9 (patch)
tree0aff5648b72d3c7b4557408f8adfce932c59a237 /Parser/tokenizer.h
parent3e1c7167d86a2a928cdcb659094aa10bb5550c4c (diff)
downloadcpython-2ea6d890281c415e0a2f00e63526e592da8ce3d9.zip
cpython-2ea6d890281c415e0a2f00e63526e592da8ce3d9.tar.gz
cpython-2ea6d890281c415e0a2f00e63526e592da8ce3d9.tar.bz2
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 'Parser/tokenizer.h')
0 files changed, 0 insertions, 0 deletions