src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py

branch
eric7
changeset 10116
4a619fb7bd09
parent 10050
3750abc45d5e
child 10169
0f70a4ef4592
equal deleted inserted replaced
10115:8ca3f08c5ac8 10116:4a619fb7bd09
15 15
16 try: 16 try:
17 from ast import unparse 17 from ast import unparse
18 except ImportError: 18 except ImportError:
19 # Python < 3.9 19 # Python < 3.9
20 from .ast_unparse import unparse 20 from ast_unparse import unparse
21 21
22 ############################################################################### 22 ###############################################################################
23 ## The following code is derived from the flake8-simplify package (v0.20.0). 23 ## The following code is derived from the flake8-simplify package (v0.20.0).
24 ## 24 ##
25 ## Original License: 25 ## Original License:

eric ide

mercurial