Mercurial > cpython-lru_cache-weakref
view Lib/test/badsyntax_future3.py @ 25838:8540887bcec6 2.2
Backport of 2.183:
Fix memory leak in add_subclass() found by NealN with valgrind.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 18 Oct 2002 13:42:21 +0000 |
| parents | d06bbb8c493a |
| children | 47eaa38b29cb |
line wrap: on
line source
"""This is a test""" from __future__ import nested_scopes from __future__ import rested_snopes def f(x): def g(y): return x + y return g print f(2)(4)
