class documentation

class Argument(Node): (source)

View In Hierarchy

A single argument in a FuncItem.

Method __init__ Undocumented
Method 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.
Class Variable __match_args__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable initializer Undocumented
Instance Variable kind Undocumented
Instance Variable pos_only Undocumented
Instance Variable type_annotation 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_column Undocumented
Instance Variable end_line 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)

Undocumented

def set_line(self, target: Context|int, column: int|None = None, end_line: int|None = None, end_column: int|None = None): (source)

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.

__match_args__: tuple[str, ...] = (source)

Undocumented

__slots__: tuple[str, ...] = (source)

Undocumented

initializer = (source)

Undocumented

Undocumented

pos_only = (source)

Undocumented

type_annotation = (source)

Undocumented

variable = (source)

Undocumented