class documentation
class Argument(_docspec.Argument, CanTriggerWarnings): (source)
Represents a Function
argument.
Method | __init__ |
Undocumented |
Instance Variable | datatype |
Undocumented |
Instance Variable | default |
Undocumented |
Inherited from Argument
:
Instance Variable | datatype |
The datatype/type annotation of this argument as a code string. |
Instance Variable | decorations |
A list of argument decorations. Python does not actually support decorators on function arguments like for example Java does. This is probably premature to add into the API, but hey, here it is. |
Instance Variable | default |
The default value of the argument as a code string. |
Instance Variable | location |
The location of the argument in the source code. |
Instance Variable | name |
The name of the argument. |
Instance Variable | type |
The argument type. |
Inherited from _HasInitAttribsMethod
(via Argument
):
Method | _init |
A method to define extra attributes that will be set after initialization. |
Inherited from CanTriggerWarnings
:
Method | warn |
Undocumented |