]> granicus.if.org Git - python/commitdiff
Remove obsolete note on binary-mode vs. text-mode file.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 23 Jan 2009 04:46:05 +0000 (04:46 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Fri, 23 Jan 2009 04:46:05 +0000 (04:46 +0000)
Doc/library/pickle.rst

index f32684332f2deaab03591ba534b61e7b587f7882..08b7daa0bc6897d024ef7bd9d2c65a1c8f8fbda1 100644 (file)
@@ -130,16 +130,6 @@ an unpickler, then you call the unpickler's :meth:`load` method.  The
    The highest protocol version available.  This value can be passed as a
    *protocol* value.
 
-.. note::
-
-   Be sure to always open pickle files created with protocols >= 1 in binary mode.
-   For the old ASCII-based pickle protocol 0 you can use either text mode or binary
-   mode as long as you stay consistent.
-
-   A pickle file written with protocol 0 in binary mode will contain lone linefeeds
-   as line terminators and therefore will look "funny" when viewed in Notepad or
-   other editors which do not support this format.
-
 .. data:: DEFAULT_PROTOCOL
 
    The default protocol used for pickling.  May be less than HIGHEST_PROTOCOL.