module documentation
(source)

*Real* reloading support for Python.

Variable lastRebuild Undocumented
Class Sensitive A utility mixin that's sensitive to rebuilds.
Function latestFunction Get the latest version of a function.
Function latestClass Get the latest version of a class.
Class RebuildError Exception raised when trying to rebuild a class whereas it's not possible.
Function updateInstance Updates an instance to be current.
Function __injectedgetattr__ A getattr method to cause a class to be refreshed.
Function rebuild Reload a module and do as much as possible to replace its references.
Variable _modDictIDMap Undocumented
lastRebuild = (source)

Undocumented

_modDictIDMap = (source)

Undocumented

(type: Dict[int, ModuleType])
def latestFunction(oldFunc): (source)

Get the latest version of a function.

def latestClass(oldClass): (source)

Get the latest version of a class.

def updateInstance(self): (source)

Updates an instance to be current.

def __injectedgetattr__(self, name): (source)

A getattr method to cause a class to be refreshed.

def rebuild(module, doLog=1): (source)

Reload a module and do as much as possible to replace its references.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.