]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-99970 Adding missing `optionflags` parameter in the documentation of `doctest...
authorbusywhitespace <busywhitespace@tuta.io>
Sat, 10 Dec 2022 10:12:40 +0000 (11:12 +0100)
committerGitHub <noreply@github.com>
Sat, 10 Dec 2022 10:12:40 +0000 (15:42 +0530)
Doc/library/doctest.rst

index b6dd7f7e12324aa8114c698165b000341dd16628..d6e4dca0860671318a2231b6d5e6493b5a9c8329 100644 (file)
@@ -1057,7 +1057,7 @@ from text files and modules with doctests:
    from a text file using :func:`DocFileSuite`.
 
 
-.. function:: DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, setUp=None, tearDown=None, checker=None)
+.. function:: DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None, setUp=None, tearDown=None, optionflags=0, checker=None)
 
    Convert doctest tests for a module to a :class:`unittest.TestSuite`.