From a82384a61df2ea026f527d511e29d0ed9c4fb794 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Thu, 22 Jun 2023 13:11:53 -0400 Subject: [PATCH] Future `assigned_stmts` on type param nodes --- astroid/nodes/node_classes.py | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/astroid/nodes/node_classes.py b/astroid/nodes/node_classes.py index b39359dc02..e333f7172c 100644 --- a/astroid/nodes/node_classes.py +++ b/astroid/nodes/node_classes.py @@ -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. @@ -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.