view Lib/test/badsyntax_future6.py @ 79453:366c19bb5ca2

MERGE: Closes #16126: PyErr_Format format mismatch in _testcapimodule.c
author Jesus Cea <jcea@jcea.es>
date Thu, 04 Oct 2012 16:07:03 +0200
parents 47eaa38b29cb
children
line wrap: on
line source

"""This is a test"""
"this isn't a doc string"
from __future__ import nested_scopes

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

result = f(2)(4)