Mercurial > cpython-lru_cache-weakref
view Lib/test/badsyntax_future4.py @ 71285:8bc9dbc61ba6 3.2
Issue #12326: document the recommended idiom for checking sys.platform on Unix systems.
Also, point to the various alternatives.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sat, 09 Jul 2011 15:54:23 +0200 |
| parents | 47eaa38b29cb |
| children |
line wrap: on
line source
"""This is a test""" import __future__ from __future__ import nested_scopes def f(x): def g(y): return x + y return g result = f(2)(4)
