Back to index

python3.2  3.2.2
Public Member Functions
test.test_set.bad_eq Class Reference

List of all members.

Public Member Functions

def __eq__
def __hash__

Detailed Description

Definition at line 1663 of file

Member Function Documentation

def test.test_set.bad_eq.__eq__ (   self,

Definition at line 1664 of file

01665     def __eq__(self, other):
01666         if be_bad:
01667             set2.clear()
01668             raise ZeroDivisionError
        return self is other

Definition at line 1669 of file

01670     def __hash__(self):
01671         return 0

The documentation for this class was generated from the following file: