diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:29:26 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:29:26 (GMT) |
commit | ecf41da83e5db98734b19f205899168cc56da943 (patch) | |
tree | e22e4354b5cc1e47d3781176a203037554eb3474 /Doc/library/doctest.rst | |
parent | 9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 (diff) | |
download | cpython-ecf41da83e5db98734b19f205899168cc56da943.zip cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.gz cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.bz2 |
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/doctest.rst')
-rw-r--r-- | Doc/library/doctest.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/doctest.rst b/Doc/library/doctest.rst index 66a521e..131206d 100644 --- a/Doc/library/doctest.rst +++ b/Doc/library/doctest.rst @@ -1215,7 +1215,7 @@ DocTest Objects .. attribute:: docstring - The string that the test was extracted from, or 'None' if the string is + The string that the test was extracted from, or ``None`` if the string is unavailable, or if the test was not extracted from a string. @@ -1320,7 +1320,7 @@ DocTestFinder objects not specified, then ``obj.__name__`` is used. The optional parameter *module* is the module that contains the given object. - If the module is not specified or is None, then the test finder will attempt + If the module is not specified or is ``None``, then the test finder will attempt to automatically determine the correct module. The object's module is used: * As a default namespace, if *globs* is not specified. |