summaryrefslogtreecommitdiff
path: root/Python/ast.c
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2018-10-14 18:01:03 +0100
committerGitHub <noreply@github.com>2018-10-14 18:01:03 +0100
commitde2aea0ff02fa9486365ce9d215bef150fae3a0b (patch)
tree83406b50dd7d3f85272bba218927d3ea0f005269 /Python/ast.c
parentbd036d3d15fc1310ccc32a43a3296b8c157ac221 (diff)
downloadcpython-git-de2aea0ff02fa9486365ce9d215bef150fae3a0b.tar.gz
bpo-34939: Allow annotated global names in module namespace (GH-9844)
Allow annotated global names in the module namespace after the symbol is declared as global. Previously, only symbols annotated before they are declared as global (i.e. inside a function) were allowed. This change allows symbols to be declared as global before the annotation happens in the global scope.
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions