Remove a confusing statement in Pickler's docstring.

Pickler does not read anything from the given file.
This commit is contained in:
Alexandre Vassalotti 2008-10-25 17:12:52 +00:00
parent 45a583b698
commit e8022b4b35

View file

@ -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