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.
P
Pablo Galindo committed
de2aea0ff02fa9486365ce9d215bef150fae3a0b
Parent: bd036d3
Committed by GitHub <noreply@github.com>
on 10/14/2018, 5:01:03 PM