PyDocs

Nav

Development Tools

register_optionflag

doctest

function (source)
  • register_optionflag(name)
Create a new option flag with a given name, and return the new flag’s integer value. register_optionflag() can be used when subclassing OutputChecker or DocTestRunner to create new options that are supported by your subclasses. register_optionflag() should always be called using the following idiom:
0 Examples
No examples for doctest/register_optionflag.
See Also
No see-alsos for doctest/register_optionflag
0 Notes
No notes for register_optionflag