(node)
| 46 | |
| 47 | # FIXME: this should be a transformation |
| 48 | def n_call(node): |
| 49 | mapping = self._get_mapping(node) |
| 50 | key = node |
| 51 | for i in mapping[1:]: |
| 52 | key = key[i] |
| 53 | pass |
| 54 | if key.kind == "CALL_FUNCTION_1": |
| 55 | # A function with one argument. If this is a generator, |
| 56 | # no parenthesis is needed. |
| 57 | args_node = node[-2] |
| 58 | if args_node == "expr": |
| 59 | n = args_node[0] |
| 60 | if n == "generator_exp": |
| 61 | node.kind = "call_generator" |
| 62 | pass |
| 63 | pass |
| 64 | |
| 65 | self.default(node) |
| 66 | |
| 67 | self.n_call = n_call |
| 68 |
nothing calls this directly
no test coverage detected