bundles / papyri latest / papyri / gen / DFSCollector / __init__
function
papyri.gen:DFSCollector.__init__
source: /papyri/gen.py :359
Signature
def __init__ ( self , root : ModuleType , others : list[ModuleType] ) Parameters
rootBase object, typically module we want to scan itself. We will attempt to no scan any object which does not belong to the root or one of its children.
othersList of other objects to use a base to explore the object graph. Typically this is because some packages do not import some submodules by default, so we need to pass these submodules explicitly.
Aliases
-
papyri.gen.DFSCollector.__init__