Staging
v0.8.1
Revision 7f554c536cfe2e66a1ff0a36c8896040be1e5aee authored by Miss Islington (bot) on 28 March 2018, 06:43:51 UTC, committed by Ned Deily on 28 March 2018, 07:33:49 UTC
(cherry picked from commit e52ac045972a4f75d7f52e4ee0d6de128259134d)

Co-authored-by: Ned Deily <nad@python.org>
1 parent 3647f85
Raw File
future_test1.py
"""This is a test"""

# Import the name nested_scopes twice to trigger SF bug #407394 (regression).
from __future__ import nested_scopes, nested_scopes

def f(x):
    def g(y):
        return x + y
    return g

result = f(2)(4)
back to top