mirror of
https://github.com/python/cpython.git
synced 2025-08-23 10:16:01 +00:00
Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.
This commit is contained in:
commit
b6a9c9761c
68 changed files with 93 additions and 92 deletions
|
@ -439,7 +439,7 @@ class IOBase(metaclass=abc.ABCMeta):
|
|||
return self.__closed
|
||||
|
||||
def _checkClosed(self, msg=None):
|
||||
"""Internal: raise an ValueError if file is closed
|
||||
"""Internal: raise a ValueError if file is closed
|
||||
"""
|
||||
if self.closed:
|
||||
raise ValueError("I/O operation on closed file."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue