class documentation

class NonDataDescriptorMixin(DataDocumenterMixinBase):

Known subclasses: sphinx.ext.autodoc.AttributeDocumenter

View In Hierarchy

Mixin for AttributeDocumenter to provide the feature for supporting non data-descriptors.

Note

This mix-in must be inherited after other mix-ins. Otherwise, docstring and :value: header will be suppressed unexpectedly.

Method get​_doc Undocumented
Method import​_object Undocumented
Method should​_suppress​_value​_header Check :value: header should be suppressed.
Instance Variable non​_data​_descriptor Undocumented

Inherited from DataDocumenterMixinBase:

Method should​_suppress​_directive​_header Check directive header should be suppressed.
Method update​_content Update docstring for the NewType object.
Class Variable config Undocumented
Class Variable env Undocumented
Class Variable modname Undocumented
Class Variable object Undocumented
Class Variable objpath Undocumented
Class Variable parent Undocumented
def get_doc(self, ignore=None):

Undocumented

Parameters
ignore:intUndocumented
Returns
Optional[List[List[str]]]Undocumented
def import_object(self, raiseerror=False):

Undocumented

Parameters
raiseerror:boolUndocumented
Returns
boolUndocumented
def should_suppress_value_header(self):
Check :value: header should be suppressed.
Returns
boolUndocumented
non_data_descriptor: bool =

Undocumented