(self, other)
| 550 | |
| 551 | def _make_compare(op): |
| 552 | def compare(self, other): |
| 553 | rhs, extra_names = self.__convert_to_ast(other) |
| 554 | return self.__make_new( |
| 555 | ast.Compare( |
| 556 | left=self.__get_ast(), |
| 557 | ops=[op], |
| 558 | comparators=[rhs], |
| 559 | ), |
| 560 | extra_names, |
| 561 | ) |
| 562 | |
| 563 | return compare |
| 564 |
nothing calls this directly
no test coverage detected