Staging
v0.8.1
Revision e3357548cad69a9efa6a045356c8f93c270626d6 authored by Anthony Baxter on 29 March 2005, 12:35:54 UTC, committed by Anthony Baxter on 29 March 2005, 12:35:54 UTC
SF patch 1167316:  doctest.py fails self-test if run directly.
1 parent 92da66a
Raw File
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