diff options
author | Georg Brandl <georg@python.org> | 2007-09-04 07:15:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-04 07:15:32 (GMT) |
commit | 6911e3ce3f72af759908b869b73391ea00d328e2 (patch) | |
tree | 5d4ff6070cb3f0f46f0a31ee4805b41053a06b48 /Doc/library/pickle.rst | |
parent | c9879246a2dd33a217960496fdf4606cb117c6a6 (diff) | |
download | cpython-6911e3ce3f72af759908b869b73391ea00d328e2.zip cpython-6911e3ce3f72af759908b869b73391ea00d328e2.tar.gz cpython-6911e3ce3f72af759908b869b73391ea00d328e2.tar.bz2 |
Convert all print statements in the docs.
Diffstat (limited to 'Doc/library/pickle.rst')
-rw-r--r-- | Doc/library/pickle.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst index 844e9c4..dace18a 100644 --- a/Doc/library/pickle.rst +++ b/Doc/library/pickle.rst @@ -574,11 +574,11 @@ Here's a silly example that *might* shed more light:: return 'My name is integer %d' % self.x i = Integer(7) - print i + print(i) p.dump(i) datastream = src.getvalue() - print repr(datastream) + print(repr(datastream)) dst = StringIO(datastream) up = pickle.Unpickler(dst) @@ -597,7 +597,7 @@ Here's a silly example that *might* shed more light:: up.persistent_load = persistent_load j = up.load() - print j + print(j) In the :mod:`cPickle` module, the unpickler's :attr:`persistent_load` attribute can also be set to a Python list, in which case, when the unpickler reaches a |