mirror of https://github.com/python/cpython
Add test case to cover multiple future statements on separate lines of
a module.
This commit is contained in:
parent
8471a35feb
commit
18da1e1e7f
|
@ -0,0 +1,11 @@
|
|||
from __future__ import nested_scopes
|
||||
from __future__ import division
|
||||
from __future__ import nested_scopes
|
||||
|
||||
def f(x):
|
||||
def g(y):
|
||||
return y // x
|
||||
return g
|
||||
|
||||
|
||||
print f(2)(5)
|
Loading…
Reference in New Issue