From e8022b4b358a502d20f338f8bcd7f125b045c355 Mon Sep 17 00:00:00 2001 From: Alexandre Vassalotti Date: Sat, 25 Oct 2008 17:12:52 +0000 Subject: [PATCH] Remove a confusing statement in Pickler's docstring. Pickler does not read anything from the given file. --- Lib/pickle.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/pickle.py b/Lib/pickle.py index 8f1f9f0b771..37c3d5262fc 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