Commit 1444f67f authored by Guido van Rossum's avatar Guido van Rossum

The test using class initarg failed, because it was lacking a

__safe_for_unpickling__ attribute.
parent 4f5b49fb
...@@ -14,6 +14,9 @@ class myint(int): ...@@ -14,6 +14,9 @@ class myint(int):
self.str = str(x) self.str = str(x)
class initarg(C): class initarg(C):
__safe_for_unpickling__ = 1
def __init__(self, a, b): def __init__(self, a, b):
self.a = a self.a = a
self.b = b self.b = b
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment