From: Alexandre Vassalotti Date: Sat, 25 Oct 2008 17:12:52 +0000 (+0000) Subject: Remove a confusing statement in Pickler's docstring. X-Git-Tag: v3.0rc2~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8022b4b358a502d20f338f8bcd7f125b045c355;p=python Remove a confusing statement in Pickler's docstring. Pickler does not read anything from the given file. --- diff --git a/Lib/pickle.py b/Lib/pickle.py index 8f1f9f0b77..37c3d5262f 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