Staging
v0.8.1
https://github.com/python/cpython
Revision a0ad82959652ff64c99231f457fd740b17330514 authored by Ned Deily on 15 August 2020, 03:48:14 UTC, committed by Ned Deily on 15 August 2020, 05:08:56 UTC
Note: macOS 11 is not yet released, this release of Python is not
fully supported on 11.0, and not all tests pass.
1 parent cf79cbf
Raw File
Tip revision: a0ad82959652ff64c99231f457fd740b17330514 authored by Ned Deily on 15 August 2020, 03:48:14 UTC
bpo-41100: additional fixes for testing on macOS 11 Big Sur Intel
Tip revision: a0ad829
badsyntax_future9.py
"""This is a test"""

from __future__ import nested_scopes, braces

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

print(f(2)(4))
back to top