mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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.
This commit is contained in:
parent
314464d0ab
commit
7462b64911
86 changed files with 136 additions and 136 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue