summaryrefslogtreecommitdiffstats
path: root/Lib/doctest.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-07 12:03:06 (GMT)
commit6507657dddebc629e49f3dc683d89a96a481fb86 (patch)
treeb4981bd2f6b8f9954d70a03d4cca7e0c7cdba840 /Lib/doctest.py
parent6eec87810fcf75249cb1060424f69ef5859e3fb1 (diff)
downloadcpython-6507657dddebc629e49f3dc683d89a96a481fb86.zip
cpython-6507657dddebc629e49f3dc683d89a96a481fb86.tar.gz
cpython-6507657dddebc629e49f3dc683d89a96a481fb86.tar.bz2
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
Diffstat (limited to 'Lib/doctest.py')
-rw-r--r--Lib/doctest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py
index 6811406..fedf670 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -219,7 +219,7 @@ def _load_testfile(filename, package, module_relative):
with open(filename, 'U') as f:
return f.read(), filename
-# Use sys.stdout encoding for ouput.
+# Use sys.stdout encoding for output.
_encoding = getattr(sys.__stdout__, 'encoding', None) or 'utf-8'
def _indent(s, indent=4):