summaryrefslogtreecommitdiffstats
path: root/Lib/pickle.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-02 04:27:17 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-02 04:27:17 (GMT)
commite56a9191000d2ff15d7550b9c852fa6dee9b8f50 (patch)
tree20b3d1d4f881f7c9e9b3549f79719497070b530a /Lib/pickle.py
parent9785261d68f62ce33968d15c7a0f10f1f8209807 (diff)
parentd2ad5718ad955a13cf570bacad1d7800d995da33 (diff)
downloadcpython-e56a9191000d2ff15d7550b9c852fa6dee9b8f50.zip
cpython-e56a9191000d2ff15d7550b9c852fa6dee9b8f50.tar.gz
cpython-e56a9191000d2ff15d7550b9c852fa6dee9b8f50.tar.bz2
Issue #25523: Merge a-to-an corrections from 3.5
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r--Lib/pickle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py
index d41753d..6c6602f 100644
--- a/Lib/pickle.py
+++ b/Lib/pickle.py
@@ -359,7 +359,7 @@ class _Pickler:
The *file* argument must have a write() method that accepts a
single bytes argument. It can thus be a file object opened for
- binary writing, a io.BytesIO instance, or any other custom
+ binary writing, an io.BytesIO instance, or any other custom
object that meets this interface.
If *fix_imports* is True and *protocol* is less than 3, pickle
@@ -991,7 +991,7 @@ class _Unpickler:
The argument *file* must have two methods, a read() method that
takes an integer argument, and a readline() method that requires
no arguments. Both methods should return bytes. Thus *file*
- can be a binary file object opened for reading, a io.BytesIO
+ can be a binary file object opened for reading, an io.BytesIO
object, or any other custom object that meets this interface.
The file-like object must have two methods, a read() method