Discussion:
[Python-3000-checkins] r67027 - python/branches/py3k/Lib/pickle.py
alexandre.vassalotti
2008-10-25 17:12:53 UTC
Permalink
Author: alexandre.vassalotti
Date: Sat Oct 25 19:12:52 2008
New Revision: 67027

Log:
Remove a confusing statement in Pickler's docstring.

Pickler does not read anything from the given file.


Modified:
python/branches/py3k/Lib/pickle.py

Modified: python/branches/py3k/Lib/pickle.py
==============================================================================
--- python/branches/py3k/Lib/pickle.py (original)
+++ python/branches/py3k/Lib/pickle.py Sat Oct 25 19:12:52 2008
@@ -179,8 +179,6 @@
def __init__(self, file, protocol=None):
"""This takes a binary file for writing a pickle data stream.

- All protocols now read and write bytes.
-
The optional protocol argument tells the pickler to use the
given protocol; supported protocols are 0, 1, 2, 3. The default
protocol is 3; a backward-incompatible protocol designed for

Loading...