class documentation
class Decoration(_docspec.Decoration, CanTriggerWarnings): (source)
| Method | __init__ |
Undocumented |
| Instance Variable | expr |
The full decoration AST's |
| Instance Variable | name |
The name of the deocration as AST, this can be any kind of expression. |
Inherited from Decoration:
| 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 (via Decoration):
| Method | _init |
A method to define extra attributes that will be set after initialization. |
Inherited from CanTriggerWarnings:
| Method | warn |
Undocumented |