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

branch
eric7
changeset 9786
f94b530722af
parent 9653
e67609152c5e
child 10047
cc9ead6d1c46
equal deleted inserted replaced
9785:84684a40187d 9786:f94b530722af
1791 """ 1791 """
1792 Private method to check for unnecessary nesting of os.path.join(). 1792 Private method to check for unnecessary nesting of os.path.join().
1793 1793
1794 @param node reference to the AST node to be checked 1794 @param node reference to the AST node to be checked
1795 @type ast.Call 1795 @type ast.Call
1796 """ 1796 """ # __IGNORE_WARNING_D234r__
1797 # __IGNORE_WARNING_D234r__ 1797
1798 def getOsPathJoinArgs(node): 1798 def getOsPathJoinArgs(node):
1799 names = [] 1799 names = []
1800 for arg in node.args: 1800 for arg in node.args:
1801 if ( 1801 if (
1802 isinstance(arg, ast.Call) 1802 isinstance(arg, ast.Call)

eric ide

mercurial