module documentation
(source)

AST triggers that are used for fine-grained dependency handling.
Function make​_trigger Undocumented
Function make​_wildcard​_trigger Special trigger fired when any top-level name is changed in a module.
Constant WILDCARD​_TAG Undocumented
def make_trigger(name): (source)

Undocumented

Parameters
name:strUndocumented
Returns
strUndocumented
def make_wildcard_trigger(module): (source)

Special trigger fired when any top-level name is changed in a module.

Note that this is different from a module trigger, as module triggers are only fired if the module is created, deleted, or replaced with a non-module, whereas a wildcard trigger is triggered for namespace changes.

This is used for "from m import *" dependencies.

Parameters
module:strUndocumented
Returns
strUndocumented
WILDCARD_TAG: str = (source)

Undocumented

Value
'[wildcard]'