Staging
v0.5.1
https://github.com/python/cpython
Revision 7ae7c87b058137537bdc2b7f1d8e585aa0245c1c authored by Victor Stinner on 07 October 2010, 11:06:49 UTC, committed by Victor Stinner on 07 October 2010, 11:06:49 UTC
Use _Py_wchar2char() to support surrogate characters in the input path.
1 parent afa88b5
Raw File
Tip revision: 7ae7c87b058137537bdc2b7f1d8e585aa0245c1c authored by Victor Stinner on 07 October 2010, 11:06:49 UTC
_wrealpath() and _Py_wreadlink() support surrogates (PEP 383)
Tip revision: 7ae7c87
badsyntax_future8.py
"""This is a test"""

from __future__ import *

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

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