mirror of https://github.com/python/cpython.git
Remove a confusing statement in Pickler's docstring.
Pickler does not read anything from the given file.
This commit is contained in:
parent
45a583b698
commit
e8022b4b35
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue