(self)
| 1876 | } |
| 1877 | |
| 1878 | pub const fn swapped(self) -> Self { |
| 1879 | match self { |
| 1880 | Self::Lt => Self::Gt, |
| 1881 | Self::Le => Self::Ge, |
| 1882 | Self::Eq => Self::Eq, |
| 1883 | Self::Ne => Self::Ne, |
| 1884 | Self::Ge => Self::Le, |
| 1885 | Self::Gt => Self::Lt, |
| 1886 | } |
| 1887 | } |
| 1888 | |
| 1889 | pub fn method_name(self, ctx: &Context) -> &'static PyStrInterned { |
| 1890 | match self { |