Customize CALL_FUNCTION to add the number of positional arguments
(token)
| 505 | |
| 506 | @staticmethod |
| 507 | def call_fn_name(token): |
| 508 | """Customize CALL_FUNCTION to add the number of positional arguments""" |
| 509 | if token.attr is not None: |
| 510 | return "%s_%i" % (token.kind, token.attr) |
| 511 | else: |
| 512 | return "%s_0" % (token.kind) |
| 513 | |
| 514 | def custom_build_class_rule(self, opname, i, token, tokens, customize, is_pypy): |
| 515 | """ |
no outgoing calls
no test coverage detected