diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 12:53:55 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-08-17 12:53:55 (GMT) |
commit | 9a3777e525b389ec5881c3f80a482fb821ab3ea5 (patch) | |
tree | e83520348eea751f2b02e8effa76f3cce2c644cd /Lib/doctest.py | |
parent | 07351a044960f259c8730de3f81356fbcdbe2bbf (diff) | |
parent | 30b9d5d3af043fc2687ad11a188a34fe355e20ef (diff) | |
download | cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.zip cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.gz cpython-9a3777e525b389ec5881c3f80a482fb821ab3ea5.tar.bz2 |
#18705: merge with 3.3.
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 1d4d329..1c94e75 100644 --- a/Lib/doctest.py +++ b/Lib/doctest.py @@ -417,7 +417,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 @@ -897,7 +897,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 |