def __eq__(self, other):
return (<EOL>isinstance(other, ExHandle)<EOL>and (self._ex_dict == other._ex_dict)<EOL>and (self._callables_obj == other._callables_obj)<EOL>and (self._clut == other._clut)<EOL>)<EOL>
Test object equality.

For example:

    >>> import copy, pexdoc
    >>> @pexdoc.contract(num=int)
    ... def mynumber(num):
    ...     return num+1
    >>> exhobj = pexdoc.set_exh_obj(pexdoc.ExHandle())
    >>> mynumber(1)
    2
    >>> obj1 = pexdoc.get_exh_obj()
    >>> obj2 = copy.copy(obj1)
    >>> obj1 == obj2
    True
    >>> 5 == obj1
    False