Extract API documentation about python objects by directly
introspecting their values.
|
clear_cache()
Discard any cached APIDoc values that have been
computed for introspected values. |
source code
|
|
|
introspect_docs(value=True,
name=True,
filename=True,
context=True,
is_script=True,
module_name=True)
Generate the API documentation for a specified object by
introspecting Python values, and return it as a ValueDoc. |
source code
call graph
|
|
Call Graph |
|
|
_get_valuedoc(value)
If a ValueDoc for the given value exists in the
valuedoc cache, then return it; otherwise, create a new
ValueDoc , add it to the cache, and return it. |
source code
call graph
|
|
Call Graph |
|
|
introspect_module(module,
module_doc,
module_name=True,
preliminary=True)
Add API documentation information about the module
module to module_doc . |
source code
call graph
|
|
Call Graph |
|
|
introspect_class(cls,
class_doc,
module_name=True)
Add API documentation information about the class cls
to class_doc . |
source code
call graph
|
|
Call Graph |
|
|
introspect_routine(routine,
routine_doc,
module_name=True)
Add API documentation information about the function
routine to routine_doc (specializing it to
Routine_doc ). |
source code
call graph
|
|
Call Graph |
|
|
introspect_property(prop,
prop_doc,
module_name=True)
Add API documentation information about the property
prop to prop_doc (specializing it to
PropertyDoc ). |
source code
call graph
|
|
Call Graph |
|
|
introspect_other(val,
val_doc,
module_name=True)
Specialize val_doc to a GenericValueDoc and return
it. |
source code
call graph
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
|
is_future_feature(object)
Return True if object results from a from
__future__ import feature statement. |
source code
call graph
|
|
Call Graph |
|
unicode
|
get_docstring(value,
module_name=True)
Return the docstring for the given value; or None if
it does not have a docstring. |
source code
call graph
|
|
Call Graph |
|
DottedName or UNKNOWN
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
DottedName
|
get_containing_module(value)
Return the name of the module containing the given value, or
None if the module name can't be determined. |
source code
call graph
|
|
Call Graph |
|
module
|
|
Call Graph |
|
|
|
|
|
Call Graph |
|
|
|
|
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
Call Graph |
|
|
|
|
|
|
|
|
|
Call Graph |
|
|
|
|
|
|
|
|
_valuedoc_cache = { 135484864: <ClassDoc bool>, 135485056: <Gen...
A cache containing the API documentation for values that we've
already seen.
|
|
_introspected_values = { 135484864: True, 135485056: True, 1354...
A record which values we've introspected, encoded as a dictionary
from pyid to bool .
|
|
UNDOCUMENTED_MODULE_VARS = ( ' __builtins__ ' , ' __doc__ ' , ' __all_ ...
A list of module variables that should not be included in a
module's API documentation.
|
|
UNDOCUMENTED_CLASS_VARS = ( ' __doc__ ' , ' __module__ ' , ' __dict__ ' ...
A list of class variables that should not be included in a class's
API documentation.
|
|
_CLASS_TYPES = set([ <type 'classobj'>, <type 'type'>])
A list of types that should be treated as classes.
|
|
__future_check_works = True
|
|
_introspecter_registry = []
|
|
_dev_null = sys.stdout
|
|
_ZopeType = type(_ExtensionClass)
|