module documentation
Module for some node classes. More nodes in scoped_nodes.py
Class |
|
Base class for Set, FrozenSet, Tuple and List. |
Class |
|
Mixin to look up a name in the right scope. |
Class |
|
Base class for all Pattern nodes. |
Class |
|
Class representing an :class:`ast.TryStar` node. |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Function | _container |
Get a slice or an item, using the given *index*, for the given sequence. |
Function | _create |
Create a list of nodes to function as the elements of a new node. |
Function | _create |
Create a list of node pairs to function as the items of a new dict node. |
Function | _find |
Undocumented |
Function | _format |
Undocumented |
Function | _infer |
Undocumented |
Function | _is |
Undocumented |
Function | _slice |
Get the value of the given slice index. |
Constant | _SLICE |
Undocumented |
Type Variable | _ |
Undocumented |
Type Variable | _ |
Undocumented |
Undocumented
Value |
|
Undocumented
Value |
|
Undocumented
Value |
|
def _create_basic_elements(value:
Iterable[ Any]
, node: (List|Set)|Tuple
) -> list[ NodeNG]
:
(source)
¶
Create a list of nodes to function as the elements of a new node.
def _create_dict_items(values:
Mapping[ Any, Any]
, node: Dict
) -> list[ tuple[ SuccessfulInferenceResult, SuccessfulInferenceResult]]
:
(source)
¶
Create a list of node pairs to function as the items of a new dict node.
def _format_args(args, defaults=None, annotations=None, skippable_names:
set[ str]|None
= None) -> str
:
(source)
¶
Undocumented