mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue