Skip to content

Commit

Permalink
Future assigned_stmts on type param nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Jun 27, 2023
1 parent 9afdcb8 commit a82384a
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions astroid/nodes/node_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2726,21 +2726,6 @@ def __init__(
def postinit(self, *, name: AssignName | None) -> None:
self.name = name

assigned_stmts: ClassVar[
Callable[
[
ParamSpec,
AssignName,
InferenceContext | None,
None,
],
Generator[NodeNG, None, None],
]
]
"""Returns the assigned statement (non inferred) according to the assignment type.
See astroid/protocols.py for actual implementation.
"""


class Pass(_base_nodes.NoChildrenNode, _base_nodes.Statement):
"""Class representing an :class:`ast.Pass` node.
Expand Down Expand Up @@ -3398,21 +3383,6 @@ def postinit(
self.type_params = type_params
self.value = value

assigned_stmts: ClassVar[
Callable[
[
TypeAlias,
AssignName,
InferenceContext | None,
None,
],
Generator[NodeNG, None, None],
]
]
"""Returns the assigned statement (non inferred) according to the assignment type.
See astroid/protocols.py for actual implementation.
"""


class TypeVar(_base_nodes.AssignTypeNode):
"""Class representing a :class:`ast.TypeVar` node.
Expand Down

0 comments on commit a82384a

Please sign in to comment.