(self, ctx: &Context)
| 1887 | } |
| 1888 | |
| 1889 | pub fn method_name(self, ctx: &Context) -> &'static PyStrInterned { |
| 1890 | match self { |
| 1891 | Self::Lt => identifier!(ctx, __lt__), |
| 1892 | Self::Le => identifier!(ctx, __le__), |
| 1893 | Self::Eq => identifier!(ctx, __eq__), |
| 1894 | Self::Ne => identifier!(ctx, __ne__), |
| 1895 | Self::Ge => identifier!(ctx, __ge__), |
| 1896 | Self::Gt => identifier!(ctx, __gt__), |
| 1897 | } |
| 1898 | } |
| 1899 | |
| 1900 | pub const fn operator_token(self) -> &'static str { |
| 1901 | match self { |
no outgoing calls
no test coverage detected