Use isReferenceTo(keywordContainer) instead of name matching (PY-26285)

This commit is contained in:
Semyon Proshev
2017-11-29 21:37:36 +03:00
parent 2650bf2d41
commit 787e678baa
6 changed files with 51 additions and 20 deletions

View File

@@ -0,0 +1,4 @@
def outer(bar=None, **kwargs):
def nested(**kwargs):
print(kwargs['foo'])
return bar