bidict/_orderedbase.py
def equals_order_sensitive(self, other):
        """Order-sensitive equality check.

        *See also* :ref:`eq-order-insensitive`
        """
        # Same short-circuit as BidictBase.__eq__. Factoring out not worth function call overhead.
        if not isinstance(other, Mapping) or len(self) != len(other):
            return False
        return all(i == j for (i, j) in izip(iteritems(self), iteritems(other)))
def equals_order_sensitive(self, other):
        # Same short-circuit as BidictBase.__eq__. Factoring out not worth function call overhead.
        if not isinstance(other, Mapping) or len(self) != len(other):
            return False
        return all(i == j for (i, j) in izip(iteritems(self), iteritems(other)))
def equals_order_sensitive ( self , other ) : # Same short-circuit as BidictBase.__eq__. Factoring out not worth function call overhead. if not isinstance ( other , Mapping ) or len ( self ) != len ( other ) : return False return all ( i == j for ( i , j ) in izip ( iteritems ( self ) , iteritems ( other ) ) )
Order-sensitive equality check.

        *See also* :ref:`eq-order-insensitive`
Order - sensitive equality check .