Skip to content

Commit 94ad98a

Browse files
Add missing PEP 695 nodes to astroid.* and node_classes.* (#2241)
Follow-up to fbcff3a, e977d97, and 8d993b1.
1 parent e91a3b5 commit 94ad98a

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

astroid/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
NamedExpr,
148148
NodeNG,
149149
Nonlocal,
150+
ParamSpec,
150151
Pass,
151152
Raise,
152153
Return,
@@ -158,6 +159,9 @@
158159
Try,
159160
TryStar,
160161
Tuple,
162+
TypeAlias,
163+
TypeVar,
164+
TypeVarTuple,
161165
UnaryOp,
162166
Unknown,
163167
While,

astroid/node_classes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
NamedExpr,
6363
NodeNG,
6464
Nonlocal,
65+
ParamSpec,
6566
Pass,
6667
Pattern,
6768
Raise,
@@ -73,6 +74,9 @@
7374
Try,
7475
TryStar,
7576
Tuple,
77+
TypeAlias,
78+
TypeVar,
79+
TypeVarTuple,
7680
UnaryOp,
7781
Unknown,
7882
While,

astroid/nodes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@
177177
NodeNG,
178178
Nonlocal,
179179
ParamSpec,
180-
TypeVarTuple,
181180
Pass,
182181
Pattern,
183182
Raise,
@@ -192,6 +191,7 @@
192191
Tuple,
193192
TypeAlias,
194193
TypeVar,
194+
TypeVarTuple,
195195
UnaryOp,
196196
Unknown,
197197
While,

0 commit comments

Comments
 (0)