Skip to content

Commit 0d7cab1

Browse files
Fix F811 redefinition of unused '_ast_py3'
1 parent a8b7f5c commit 0d7cab1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

astroid/_ast.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66

77
import astroid
88

9-
_ast_py3 = None
109
try:
1110
import typed_ast.ast3 as _ast_py3
1211
except ImportError:
13-
pass
12+
_ast_py3 = None
1413

1514

1615
PY38 = sys.version_info[:2] >= (3, 8)

0 commit comments

Comments
 (0)