class documentation
Undocumented
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | add |
Add a newly created object to the tree. Responsible to add the object to the parent namespace, setup parent attribute, setup the new object to the root instance and respectively. |
Class Variable | factory |
The factory used to create this collection of objects. |
Instance Variable | all |
All objects of the tree in a mapping full_name -> ApiObject . |
Instance Variable | root |
The root modules of the tree. |
Add a newly created object to the tree. Responsible to add the object to the parent namespace, setup parent attribute, setup the new object to the root instance and respectively.
If parent is None
, the object passed will be treated as a root module.
Parameters | |
ob:ApiObject | Undocumented |
parent:Optional[ | Undocumented |
overridden in
pydocspec.TreeRoot
All objects of the tree in a mapping full_name -> ApiObject
.
Note | |
Special care is taken in order no to shadow objects with duplicate names, see DuplicateSafeDict . |