Commits

Georg Brandl  committed 763559c Merge

Merge with 3.1.

  • Participants
  • Parent commits 224ebf9, 11b09df
  • Branches 3.2

Comments (0)

Files changed (1)

File Lib/test/test_module.py

         m = ModuleType("foo")
         m.destroyed = destroyed
         s = """class A:
-    def __del__(self):
+    def __del__(self, destroyed=destroyed):
         destroyed.append(1)
 a = A()"""
         exec(s, m.__dict__)