diff options
Diffstat (limited to 'lib-python/2.7/test/badsyntax_future3.py')
-rw-r--r-- | lib-python/2.7/test/badsyntax_future3.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib-python/2.7/test/badsyntax_future3.py b/lib-python/2.7/test/badsyntax_future3.py new file mode 100644 index 0000000000..f1c8417eda --- /dev/null +++ b/lib-python/2.7/test/badsyntax_future3.py @@ -0,0 +1,10 @@ +"""This is a test""" +from __future__ import nested_scopes +from __future__ import rested_snopes + +def f(x): + def g(y): + return x + y + return g + +result = f(2)(4) |