class documentation
class PrintVisitor(ApiObjectVisitor): (source)
Visit objects and print each object with the defined format string. Available substitutions are:
- "{obj_type}" (colored)
- "{obj_name}"
- "{obj_docstring}"
- "{obj_lineno}"
- "{obj_filename}"
The default format string is: ":{obj_lineno} - {obj_type}: {obj_name}"
- Usage::
- module: pydocspec.Module module.walk(PrintVisitor())
| Method | __init__ |
Undocumented |
| Method | unknown |
Undocumented |
| Method | unknown |
Undocumented |
| Instance Variable | colorize |
Undocumented |
| Instance Variable | formatstr |
Undocumented |
| Constant | _COLOR |
Undocumented |
Inherited from _ApiObjectVisitorGetChildren (via ApiObjectVisitor):
| Class Method | get |
Undocumented |