[docs] [issue15939] make *.rst files in Doc/ parseable by doctest

Chris Jerdonek report at bugs.python.org
Thu Sep 20 06:58:18 CEST 2012

Chris Jerdonek added the comment:

My opinion on the "+LINUX" and "+WINDOWS" doctest directives in Doc/library/ctypes.rst is simply to leave them alone for now.  We can make those errors go away in code when running doctest by adding no-op calls to doctest.register_optionflag() as below:


prior to constructing the doctest TestSuites.


Python tracker <report at bugs.python.org>

More information about the docs mailing list