eric6/Plugins/CheckerPlugins/CodeStyleChecker/Miscellaneous/MiscellaneousChecker.py

changeset 7988
c4c17121eff8
parent 7980
2c3f14a3c595
child 8043
0acf98cd089a
child 8166
bd5cd5858503
equal deleted inserted replaced
7987:e8eb8370ea94 7988:c4c17121eff8
26 """ 26 """
27 Generator function to assemble the call path of a given node. 27 Generator function to assemble the call path of a given node.
28 28
29 @param node node to assemble call path for 29 @param node node to assemble call path for
30 @type ast.Node 30 @type ast.Node
31 @return call path components 31 @yield call path components
32 @rtype str 32 @ytype str
33 """ 33 """
34 if isinstance(node, ast.Attribute): 34 if isinstance(node, ast.Attribute):
35 for v in composeCallPath(node.value): 35 for v in composeCallPath(node.value):
36 yield v 36 yield v
37 yield node.attr 37 yield node.attr

eric ide

mercurial