diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 15:50:46 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 15:50:46 +0300 |
commit | 30b9d5d3af043fc2687ad11a188a34fe355e20ef (patch) | |
tree | 6e86b6b605397d826721779611ebd06d028acfc1 /Lib/doctest.py | |
parent | Issue #18759: Improved cross-references in logging documentation. (diff) | |
download | cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.gz cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.bz2 cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.zip |
#18705: fix a number of typos. Patch by Févry Thibault.
Diffstat (limited to 'Lib/doctest.py')
-rw-r--r-- | Lib/doctest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/doctest.py b/Lib/doctest.py index 3af05fb87e6..5dbd3d459e7 100644 --- a/Lib/doctest.py +++ b/Lib/doctest.py @@ -413,7 +413,7 @@ class Example: zero-based, with respect to the beginning of the DocTest. - indent: The example's indentation in the DocTest string. - I.e., the number of space characters that preceed the + I.e., the number of space characters that precede the example's first prompt. - options: A dictionary mapping from option flags to True or @@ -893,7 +893,7 @@ class DocTestFinder: if '__name__' not in globs: globs['__name__'] = '__main__' # provide a default module name - # Recursively expore `obj`, extracting DocTests. + # Recursively explore `obj`, extracting DocTests. tests = [] self._find(tests, obj, name, module, source_lines, globs, {}) # Sort the tests by alpha order of names, for consistency in |