Staging
v0.8.1
Revision 6003ac526716a107c9d8e9d0ca3150c752fefa5f authored by Larry Hastings on 08 March 2015, 08:24:34 UTC, committed by Larry Hastings on 08 March 2015, 08:24:34 UTC
1 parent cfb5b87
Raw File
final_a.py
"""
Fodder for module finalization tests in test_module.
"""

import shutil
import test.final_b

x = 'a'

class C:
    def __del__(self):
        # Inspect module globals and builtins
        print("x =", x)
        print("final_b.x =", test.final_b.x)
        print("shutil.rmtree =", getattr(shutil.rmtree, '__name__', None))
        print("len =", getattr(len, '__name__', None))

c = C()
_underscored = C()
back to top