Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error

messages.
This commit is contained in:
Serhiy Storchaka 2016-04-17 09:39:28 +03:00
commit b6a9c9761c
68 changed files with 93 additions and 92 deletions

View file

@ -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."