class documentation
A single argument in a FuncItem.
Method | __init__ |
Undocumented |
Method | set |
If target is a node, pull line (and column) information into this node. If column is specified, this will override any column information coming from a node. |
Class Variable | __match |
Undocumented |
Class Variable | __slots__ |
Undocumented |
Instance Variable | initializer |
Undocumented |
Instance Variable | kind |
Undocumented |
Instance Variable | pos |
Undocumented |
Instance Variable | type |
Undocumented |
Instance Variable | variable |
Undocumented |
Inherited from Node
:
Method | __str__ |
Undocumented |
Method | accept |
Undocumented |
Inherited from Context
(via Node
):
Instance Variable | column |
Undocumented |
Instance Variable | end |
Undocumented |
Instance Variable | end |
Undocumented |
Instance Variable | line |
Undocumented |
def __init__(self, variable:
Var
, type_annotation: mypy.types.Type|None
, initializer: Expression|None
, kind: ArgKind
, pos_only: bool
= False):
(source)
¶
overrides
mypy.nodes.Context.__init__
Undocumented
def set_line(self, target:
Context|int
, column: int|None
= None, end_line: int|None
= None, end_column: int|None
= None):
(source)
¶
overrides
mypy.nodes.Context.set_line
If target is a node, pull line (and column) information into this node. If column is specified, this will override any column information coming from a node.