(arguments, defaults, type)
| 156 | |
| 157 | @staticmethod |
| 158 | def get_arg_parts(arguments, defaults, type): |
| 159 | # only difference is that it doesn't pull out arg.arg, so we can |
| 160 | # use all the information on the arg node down the road |
| 161 | match_def = [None] * (len(arguments) - len(defaults)) + defaults |
| 162 | part_list = [] |
| 163 | for _arg, _def in zip(arguments, match_def): |
| 164 | part_list.append(Parser.get_arg_part(_arg, _def)) |
| 165 | return part_list |
| 166 | |
| 167 | @staticmethod |
| 168 | def get_arg_part(_arg, _def, type=None): |
no test coverage detected