Commit e8022b4b authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

Remove a confusing statement in Pickler's docstring.

Pickler does not read anything from the given file.
parent 45a583b6
...@@ -179,8 +179,6 @@ class _Pickler: ...@@ -179,8 +179,6 @@ class _Pickler:
def __init__(self, file, protocol=None): def __init__(self, file, protocol=None):
"""This takes a binary file for writing a pickle data stream. """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 The optional protocol argument tells the pickler to use the
given protocol; supported protocols are 0, 1, 2, 3. The default given protocol; supported protocols are 0, 1, 2, 3. The default
protocol is 3; a backward-incompatible protocol designed for protocol is 3; a backward-incompatible protocol designed for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment