Skip to content

Commit

Permalink
Moved _ast imports to be done from the proper module
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Apr 8, 2023
1 parent 903b3f5 commit 2d7867e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/typeguard/_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import ast
import builtins
import sys
from _ast import AST, Expression
from ast import (
AST,
Add,
AnnAssign,
Assign,
Expand All @@ -21,6 +21,7 @@
Dict,
Div,
Expr,
Expression,
FloorDiv,
FunctionDef,
If,
Expand Down

0 comments on commit 2d7867e

Please sign in to comment.