PyAttributeSubsection#

class PyAttributeSubsection(name, arguments, options, content, lineno, content_offset, block_text, state, state_machine)#

Bases: PyAttributeFullkeyTOC

Attribute that adds ‘subsection’ before signature.

_toc_entry_name(sig_node)#

Display sections leading to trait in TOC.

Parameters:

sig_node (desc_signature)

Return type:

str

get_signature_prefix(sig)#

May return a prefix to put before the object name in the signature.

Parameters:

sig (str)

Return type:

list[Node]