class doctest.Example(source, want, exc_msg=None, lineno=0, indent=0, options=None)
A single interactive example, consisting of a Python statement and its expected output. The constructor arguments are used to initialize the attributes of the same names.
Example defines the following attributes. They are initialized by the constructor, and should not be modified directly.
source
A string containing the example’s source code. This source code consists of a single Python statement, and alwa