Staging
v0.5.1
https://github.com/python/cpython
Revision c679227e31245b0e8dec74a1f7cc77710541d985 authored by Serhiy Storchaka on 19 October 2013, 18:03:34 UTC, committed by Serhiy Storchaka on 19 October 2013, 18:03:34 UTC
1 parent 80ab130
Raw File
Tip revision: c679227e31245b0e8dec74a1f7cc77710541d985 authored by Serhiy Storchaka on 19 October 2013, 18:03:34 UTC
Issue #1772673: The type of `char*` arguments now changed to `const char*`.
Tip revision: c679227
badsyntax_future3.py
"""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)
back to top