mirror of https://github.com/python/cpython
Repair late-night doc typos.
This commit is contained in:
parent
810cc51d5f
commit
bea3fb83a7
|
@ -78,7 +78,7 @@ example:
|
||||||
test_main(1)
|
test_main(1)
|
||||||
|
|
||||||
If run via regrtest, test_main() is called (by regrtest) without specifying
|
If run via regrtest, test_main() is called (by regrtest) without specifying
|
||||||
verbose, and then test_supprot's idea of verbosity is used. But when
|
verbose, and then test_support's idea of verbosity is used. But when
|
||||||
run directly, test_main(1) is called, and then doctest's idea of verbosity
|
run directly, test_main(1) is called, and then doctest's idea of verbosity
|
||||||
is used.
|
is used.
|
||||||
|
|
||||||
|
|
|
@ -183,8 +183,8 @@ def run_doctest(module, verbosity=None):
|
||||||
"""Run doctest on the given module.
|
"""Run doctest on the given module.
|
||||||
|
|
||||||
If optional argument verbosity is not specified (or is None), pass
|
If optional argument verbosity is not specified (or is None), pass
|
||||||
test_support's belief about verbosity on to doctest. Else doctest
|
test_support's belief about verbosity on to doctest. Else doctest's
|
||||||
sys.argv for -v.
|
usual behavior is used (it searches sys.argv for -v).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import doctest
|
import doctest
|
||||||
|
|
Loading…
Reference in New Issue