]> granicus.if.org Git - python/commitdiff
Remove a confusing statement in Pickler's docstring.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 25 Oct 2008 17:12:52 +0000 (17:12 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 25 Oct 2008 17:12:52 +0000 (17:12 +0000)
Pickler does not read anything from the given file.

Lib/pickle.py

index 8f1f9f0b7716b5f04f7810758bdeb2d7889e2b54..37c3d5262fca2723146af0d5f0dfb80a740ffb8a 100644 (file)
@@ -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