Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 1b293b60067f6f4a95984d064ce0f6b6d34c1216 authored by Ɓukasz Langa on 18 December 2019, 17:21:23 UTC
Python 3.8.1
Tip revision: 1b293b6
badsyntax_future6.py
"""This is a test"""
"this isn't a doc string"
from __future__ import nested_scopes

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

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