diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 03:37:02 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 03:37:02 (GMT) |
commit | 7462b64911f1e2df2de2285ddbf8b156b5cdc418 (patch) | |
tree | 1d892984f008498030909effcf72f2018d3acf10 /Lib/pickle.py | |
parent | 314464d0ab4ad283fce7594158b2464d47cc68d8 (diff) | |
download | cpython-7462b64911f1e2df2de2285ddbf8b156b5cdc418.zip cpython-7462b64911f1e2df2de2285ddbf8b156b5cdc418.tar.gz cpython-7462b64911f1e2df2de2285ddbf8b156b5cdc418.tar.bz2 |
Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
Diffstat (limited to 'Lib/pickle.py')
-rw-r--r-- | Lib/pickle.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pickle.py b/Lib/pickle.py index c7298af..d05316e 100644 --- a/Lib/pickle.py +++ b/Lib/pickle.py @@ -362,7 +362,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 @@ -983,7 +983,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 |