diff options
| author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-10-25 17:12:52 +0000 |
|---|---|---|
| committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-10-25 17:12:52 +0000 |
| commit | e8022b4b358a502d20f338f8bcd7f125b045c355 (patch) | |
| tree | e8838783c25d4aef80f6b90b0e58e1d7c7ab6430 /Lib/pickle.py | |
| parent | 45a583b6983705ab79f67ec453ae0522827575b6 (diff) | |
| download | cpython-git-e8022b4b358a502d20f338f8bcd7f125b045c355.tar.gz | |
Remove a confusing statement in Pickler's docstring.
Pickler does not read anything from the given file.
Diffstat (limited to 'Lib/pickle.py')
| -rw-r--r-- | Lib/pickle.py | 2 |
1 files changed, 0 insertions, 2 deletions
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 |
