|
|
|
runbuilder(s,
attribs='
' ,
build=True,
exclude='
' )
This test function takes a string containing the contents of a
module. |
source code
|
|
|
runparser(s,
attribs='
' ,
show=True,
exclude='
' )
This test function takes a string containing the contents of a
module, and writes it to a file, uses `parse_docs` to parse it, and
pretty prints the resulting ModuleDoc object. |
source code
|
|
|
runintrospecter(s,
attribs='
' ,
introspect=True,
exclude='
' )
This test function takes a string containing the contents of a
module. |
source code
|
|
|
print_warnings()
Register a logger that will print warnings & errors. |
source code
|
|
|
|
|
|
|
|
|
to_plain(docstring)
Conver a parsed docstring into plain text |
source code
|
|
|
fun_to_plain(val_doc)
Convert parsed docstrings in text from a RoutineDoc |
source code
|
|
|
|
|
remove_surrogates(s)
The following is a helper function, used to convert two-character
surrogate sequences into single characters. |
source code
|
|