source: titan/mediathek/localhoster/lib/python2.7/test/test_future1.py @ 40094

Last change on this file since 40094 was 40094, checked in by obi, 7 years ago

tithek add yoztube-dl support

File size: 229 bytes
Line 
1"""This is a test"""
2
3# Import the name nested_scopes twice to trigger SF bug #407394 (regression).
4from __future__ import nested_scopes, nested_scopes
5
6def f(x):
7    def g(y):
8        return x + y
9    return g
10
11result = f(2)(4)
Note: See TracBrowser for help on using the repository browser.