class documentation
class _HasInitAttribsMethod: (source)
Known subclasses: pydocspec._docspec.ApiObject
, pydocspec._docspec.Argument
, pydocspec._docspec.Decoration
, pydocspec._docspec.Docstring
, pydocspec._docspec.Location
Undocumented
Method | _init |
A method to define extra attributes that will be set after initialization. |
overridden in
pydocspec._model.ApiObject
, pydocspec._model.Module
, pydocspec.Class
, pydocspec.Function
, pydocspec.Variable
A method to define extra attributes that will be set after initialization.
Note | |
Most attributes don't need a special value at initialization (if they use None as default for instance), in those cases, avoid overriding this method by declaring them as class variable. Override this method only if you have to initialize an attribute value to a mutable object. |