(self, arguments)
| 819 | indentation = '' |
| 820 | |
| 821 | def parse_arguments(self, arguments): |
| 822 | out = [] |
| 823 | for arg in arguments: |
| 824 | if isinstance(arg, str) and arg[0] == "'" and arg[-1] == "'": |
| 825 | out.append('\'' + arg[1:-1] + '\'') |
| 826 | elif isinstance(arg, dict): |
| 827 | out.append(self.dict2string(arg)) |
| 828 | else: |
| 829 | out.append(arg) |
| 830 | return out |
| 831 | |
| 832 | def dict2string(self, d): |
| 833 | if d['type'] == 'comment': |
no test coverage detected