diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-01-23 04:46:05 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2009-01-23 04:46:05 (GMT) |
commit | 4a72a196b8cb81e7ae6d50637c8923a4e59b21ca (patch) | |
tree | 0ff70c0192a92337c0774d36d648bc10188580ef /Doc | |
parent | 446f7ffa0ff7b89f4ee8f74d4ea7183c8072ecba (diff) | |
download | cpython-4a72a196b8cb81e7ae6d50637c8923a4e59b21ca.zip cpython-4a72a196b8cb81e7ae6d50637c8923a4e59b21ca.tar.gz cpython-4a72a196b8cb81e7ae6d50637c8923a4e59b21ca.tar.bz2 |
Remove obsolete note on binary-mode vs. text-mode file.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/pickle.rst | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/library/pickle.rst b/Doc/library/pickle.rst index f326843..08b7daa 100644 --- a/Doc/library/pickle.rst +++ b/Doc/library/pickle.rst @@ -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. |