aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-17 09:39:28 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-17 09:39:28 +0300
commitb6a9c9761ca988e1ab69defd45433fac0b2ff89c (patch)
tree0071290253b0ef28f62f3f22d69be89db2abad50 /Lib/_pyio.py
parentAutomated merge with ssh://hg.python.org/cpython (diff)
parentIssue #26778: Fixed "a/an/and" typos in code comment and documentation. (diff)
downloadcpython-b6a9c9761ca988e1ab69defd45433fac0b2ff89c.tar.gz
cpython-b6a9c9761ca988e1ab69defd45433fac0b2ff89c.tar.bz2
cpython-b6a9c9761ca988e1ab69defd45433fac0b2ff89c.zip
Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.
Diffstat (limited to 'Lib/_pyio.py')
-rw-r--r--Lib/_pyio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py
index 354702ec5ff..404e0273ece 100644
--- a/Lib/_pyio.py
+++ b/Lib/_pyio.py
@@ -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."