autoclasstoc.PrivateMethods
- class autoclasstoc.PrivateMethods(state, cls)
Include a “Private Methods” section in the class TOC.
Public Methods:
predicate
(name, attr, meta)Return true if the given attribute should be included in this section.
Inherited from
Section
__init__
(state, cls)Create a section for a specific class.
Keep track of any
Section
subclasses that are defined.check
()Raise
ConfigError
if the section has not been configured correctly, e.g.format
()Return a list of docutils nodes that will compose the section.
predicate
(name, attr, meta)Return true if the given attribute should be included in this section.
Private Methods:
Inherited from
Section
Create the container node that will contain the entire section.
Create the section header node.
_make_links
(attrs, cls)Make a link to the full documentation for each attribute.
_make_inherited_details
(parent)Make a collapsible node to contain links to inherited attributes.
_filter_attrs
(attrs)Return only those attributes that match the predicate.
Return all attributes associated with this class.
Find attributes that this class has inherited from other classes.
Full Documentation:
- key = 'private-methods'
- predicate(name, attr, meta)[source]
Return true if the given attribute should be included in this section.
- Parameters:
See also
- title = 'Private Methods:'