Method: pylint.checkers.variables._flattened_scope_names
Calls: 6338, Exceptions: 0, Paths: 1Back
Path 1: 6338 calls (1.0)
NodeNG.nodes_of_class def (6338)
set() (6267) {'some_num'} (7) {'CONSTANT'} (5) {'missing'} (5) {'a'} (4) {'c', 'a'} (4) {'count'} (4) {'CONST'} (4) {'myint'} (2) {'self'} (2)
1def _flattened_scope_names(
2 iterator: Iterator[nodes.Global | nodes.Nonlocal],
3) -> set[str]:
4 values = (set(stmt.names) for stmt in iterator)
5 return set(itertools.chain.from_iterable(values))