Skip to content

Commit

Permalink
Add missing PEP 695 nodes to astroid.* and node_classes.* (#2241)
Browse files Browse the repository at this point in the history
Follow-up to fbcff3a, e977d97, and 8d993b1.
  • Loading branch information
jacobtylerwalls committed Jul 8, 2023
1 parent e91a3b5 commit 94ad98a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions astroid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
NamedExpr,
NodeNG,
Nonlocal,
ParamSpec,
Pass,
Raise,
Return,
Expand All @@ -158,6 +159,9 @@
Try,
TryStar,
Tuple,
TypeAlias,
TypeVar,
TypeVarTuple,
UnaryOp,
Unknown,
While,
Expand Down
4 changes: 4 additions & 0 deletions astroid/node_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
NamedExpr,
NodeNG,
Nonlocal,
ParamSpec,
Pass,
Pattern,
Raise,
Expand All @@ -73,6 +74,9 @@
Try,
TryStar,
Tuple,
TypeAlias,
TypeVar,
TypeVarTuple,
UnaryOp,
Unknown,
While,
Expand Down
2 changes: 1 addition & 1 deletion astroid/nodes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@
NodeNG,
Nonlocal,
ParamSpec,
TypeVarTuple,
Pass,
Pattern,
Raise,
Expand All @@ -192,6 +191,7 @@
Tuple,
TypeAlias,
TypeVar,
TypeVarTuple,
UnaryOp,
Unknown,
While,
Expand Down

0 comments on commit 94ad98a

Please sign in to comment.