diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-17 06:37:36 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-17 06:37:36 (GMT) |
commit | 9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f (patch) | |
tree | 4878492acdcc033c71d4be46967537291d433cb1 /Lib/_pyio.py | |
parent | 0bb165ecc114fcf7ce1df454355c4cbbef8b63e9 (diff) | |
download | cpython-9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f.zip cpython-9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f.tar.gz cpython-9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f.tar.bz2 |
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
Diffstat (limited to 'Lib/_pyio.py')
-rw-r--r-- | Lib/_pyio.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index 694b778..d8e1ee7 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -420,7 +420,7 @@ class IOBase: 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." @@ -2022,7 +2022,7 @@ class StringIO(TextIOWrapper): def __repr__(self): # TextIOWrapper tells the encoding in its repr. In StringIO, - # that's a implementation detail. + # that's an implementation detail. return object.__repr__(self) @property |