t.p._reflectpy3 : module documentation

Part of twisted.python View Source

Reflection APIs which have been ported to Python 3.
Class _NoModuleFound No module was found because none exists.
Function _importAndCheckStack No summary
Function _determineClass Undocumented
Function _determineClassName Undocumented
Function _safeFormat Helper function for safe_repr and safe_str.
def _importAndCheckStack(importName): (source)
Import the given name as a module, then walk the stack to determine whether the failure was the module not existing, or some code in the module (for example a dependent import) failing. This can be helpful to determine whether any actual application code was run. For example, to distiguish administrative error (entering the wrong module name), from programmer error (writing buggy code in a module that fails to import).
ParametersimportNameThe name of the module to import. (type: str)
RaisesExceptionif something bad happens. This can be any type of exception, since nobody knows what loading some arbitrary code might do.
_NoModuleFoundif no module was found.
def _determineClass(x): (source)
Undocumented
def _determineClassName(x): (source)
Undocumented
def _safeFormat(formatter, o): (source)
Helper function for safe_repr and safe_str.
API Documentation for Twisted, generated by pydoctor at 2013-11-18 18:11:01.