class documentation
class Decoration(_HasInitAttribsMethod): (source)
Known subclasses: pydocspec._model.Decoration
Represents a decorator on a #Class or #Function.
Method | __init__ |
Undocumented |
Instance Variable | arglist |
Decorator arguments, one item per argument. For keyword arguments, the keyword name and equals sign preceed the argument value expression code. |
Instance Variable | location |
The location of the decoration in the source code. |
Instance Variable | name |
The name of the decorator (i.e. the text between the @ and ( ). In languages that support it, this may be a piece of code. |
Inherited from _HasInitAttribsMethod
:
Method | _init |
A method to define extra attributes that will be set after initialization. |
overridden in
pydocspec._model.Decoration
Undocumented
Parameters | |
location:Location | Undocumented |
name:str | Undocumented |
arglist:t.Optional[ | Undocumented |