Staging
v0.8.1
https://github.com/python/cpython
Revision 790202d61308efd3e7bc69cd61bff2306d789e57 authored by Victor Stinner on 07 February 2014, 18:03:05 UTC, committed by Victor Stinner on 07 February 2014, 18:03:05 UTC
1 parent 3e7cc03
Raw File
Tip revision: 790202d61308efd3e7bc69cd61bff2306d789e57 authored by Victor Stinner on 07 February 2014, 18:03:05 UTC
asyncio doc: mention that asyncio is not thread-safe
Tip revision: 790202d
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