Better checking of annotations/params and nonlocals/globals.

This commit is contained in:
Dave Halter committed 2017-07-30 12:23:17 +02:00
1 parent b7726d05cf
commit 2420f57a5c
3 files changed
+71 -6

No files matched your search

@@ -49,3 +49,8 @@ except ZeroDivisionError:
class X():
nonlocal a
def glob():
global x
y: foo = x