#18705: fix a number of typos. Patch by Févry Thibault.
diff --git a/Lib/doctest.py b/Lib/doctest.py
index 90bcca1..3e563c6 100644
--- a/Lib/doctest.py
+++ b/Lib/doctest.py
@@ -424,7 +424,7 @@
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
@@ -895,7 +895,7 @@
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