pub fn le<O>(&self, other: O) -> PyResult<bool>
    where
        O: ToPyObject,
    {
        self.rich_compare(other, CompareOp::Le)?.is_true()
    }
/// Tests whether this object is less than or equal to another.
///
/// This is equivalent to the Python expression `self <= other`.
Tests whether this object is less than or equal to another.
This is equivalent to the Python expression `self <= other`.
Tests whether this object is less than or equal to another . This is equivalent to the Python expression ` self < = other ` .
pub fn le<O>(&self, other: O) -> PyResult<bool>
    where
        O: ToPyObject,
    {
        self.rich_compare(other, CompareOp::Le)?.is_true()
    }
pub fn le < O > ( & self , other : O ) -> PyResult < bool > where O : ToPyObject , { self . rich_compare ( other , CompareOp :: Le ) ? . is_true ( ) }
Tests whether this object is less than or equal to another.
Tests whether this object is less than or equal to another .
&self
other
O
&self
other
O