summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-10-25 17:12:52 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-10-25 17:12:52 (GMT)
commite8022b4b358a502d20f338f8bcd7f125b045c355 (patch)
treee8838783c25d4aef80f6b90b0e58e1d7c7ab6430
parent45a583b6983705ab79f67ec453ae0522827575b6 (diff)
downloadcpython-e8022b4b358a502d20f338f8bcd7f125b045c355.zip
cpython-e8022b4b358a502d20f338f8bcd7f125b045c355.tar.gz
cpython-e8022b4b358a502d20f338f8bcd7f125b045c355.tar.bz2
Remove a confusing statement in Pickler's docstring.
Pickler does not read anything from the given file.
-rw-r--r--Lib/pickle.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py
index 8f1f9f0..37c3d52 100644
--- a/Lib/pickle.py
+++ b/Lib/pickle.py
@@ -179,8 +179,6 @@ class _Pickler:
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