Staging
v0.5.1
https://github.com/python/cpython
Revision 68f68fa423739802fce37589ee77683c42ddb933 authored by Richard Levasseur on 21 November 2020, 19:56:24 UTC, committed by GitHub on 21 November 2020, 19:56:24 UTC
1 parent ea97eba
Raw File
Tip revision: 68f68fa423739802fce37589ee77683c42ddb933 authored by Richard Levasseur on 21 November 2020, 19:56:24 UTC
Clarify that Set._from_iterable is not required to be a classmethod. (GH-23272)
Tip revision: 68f68fa
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