Skip to content

Commit 36f46cb

Browse files
Add missing PEP 695 nodes to astroid.* and node_classes.*
Follow-up to fbcff3a, e977d97, and 8d993b1.
1 parent a7ab088 commit 36f46cb

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,
@@ -159,6 +160,9 @@
159160
TryFinally,
160161
TryStar,
161162
Tuple,
163+
TypeAlias,
164+
TypeVar,
165+
TypeVarTuple,
162166
UnaryOp,
163167
Unknown,
164168
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,
@@ -74,6 +75,9 @@
7475
TryFinally,
7576
TryStar,
7677
Tuple,
78+
TypeAlias,
79+
TypeVar,
80+
TypeVarTuple,
7781
UnaryOp,
7882
Unknown,
7983
While,

astroid/nodes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@
178178
NodeNG,
179179
Nonlocal,
180180
ParamSpec,
181-
TypeVarTuple,
182181
Pass,
183182
Pattern,
184183
Raise,
@@ -194,6 +193,7 @@
194193
Tuple,
195194
TypeAlias,
196195
TypeVar,
196+
TypeVarTuple,
197197
UnaryOp,
198198
Unknown,
199199
While,

0 commit comments

Comments
 (0)