Commit 56f50228 authored by chris's avatar chris

*** empty log message ***

parent 1c4ad726
# $Id: pickle.py,v 1.3 1997/01/03 16:23:02 chris Exp $ # $Id: pickle.py,v 1.4 1997/01/03 21:21:10 chris Exp $
# #
# Copyright # Copyright
# #
...@@ -759,13 +759,11 @@ def test(): ...@@ -759,13 +759,11 @@ def test():
c = C() c = C()
c.foo = 1 c.foo = 1
c.bar = 2 c.bar = 2
c2 = C()
x = [0, 1, 2, 3] x = [0, 1, 2, 3]
y = ('abc', 'abc', c, c) y = ('abc', 'abc', c, c)
x.append(y) x.append(y)
x.append(y) x.append(y)
x.append(5) x.append(5)
x.append(c2)
f = open(fn, 'w') f = open(fn, 'w')
F = Pickler(f) F = Pickler(f)
F.dump(x) F.dump(x)
......
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