diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-06-08 23:31:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 23:31:10 (GMT) |
commit | 2ea6d890281c415e0a2f00e63526e592da8ce3d9 (patch) | |
tree | 0aff5648b72d3c7b4557408f8adfce932c59a237 /Lib/ctypes | |
parent | 3e1c7167d86a2a928cdcb659094aa10bb5550c4c (diff) | |
download | cpython-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 'Lib/ctypes')
0 files changed, 0 insertions, 0 deletions