Mercurial > cpython-lru_cache-weakref
view Lib/test/badsyntax_future7.py @ 19283:b865cd5c1925 legacy-trunk
Added comments before recently added/assigned slots in the type object,
so the backward compatibility issues will be easier to understand. I only
added comments indicating additions and assignments back to Python 2.0.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Wed, 15 Aug 2001 18:32:33 +0000 |
| parents | d06bbb8c493a |
| children | 47eaa38b29cb |
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 print f(2)(4)
