(self, arguments)
| 950 | indentation = ' ' * 12 |
| 951 | |
| 952 | def parse_arguments(self, arguments): |
| 953 | out = [] |
| 954 | for arg in arguments: |
| 955 | if isinstance(arg, str) and arg[0] == "'" and arg[-1] == "'": |
| 956 | out.append('\"' + arg[1:-1] + '\"') |
| 957 | elif isinstance(arg, dict): |
| 958 | out.append(self.dict2string(arg)) |
| 959 | else: |
| 960 | out.append(arg) |
| 961 | return out |
| 962 | |
| 963 | def dict2string(self, d): |
| 964 | if d['type'] == 'comment': |
no test coverage detected