Mercurial > cpython-lru_cache-weakref
view Lib/test/badsyntax_future7.py @ 80779:10d04bdb05ab 3.3
Issue #16248: Disable code execution from the user's home directory by tkinter when the -E flag is passed to Python.
Patch by Zachary Ware.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sun, 09 Dec 2012 14:46:46 +0100 |
| parents | 47eaa38b29cb |
| children |
line wrap: on
line source
"""This is a test""" from __future__ import nested_scopes; import string; from __future__ import \ nested_scopes def f(x): def g(y): return x + y return g result = f(2)(4)
