Back to index

python3.2  3.2.2
Public Member Functions
test.test_mutants.Machiavelli Class Reference

List of all members.

Public Member Functions

def __repr__
def __hash__

Detailed Description

Definition at line 204 of file test_mutants.py.


Member Function Documentation

Definition at line 214 of file test_mutants.py.

00214 
00215     def __hash__(self):
00216         return 0
00217 
00218 dict[Machiavelli()] = Machiavelli()
00219 
00220 print(str(dict), file=f)
00221 f.close()
os.unlink(TESTFN)

Definition at line 205 of file test_mutants.py.

00205 
00206     def __repr__(self):
00207         dict.clear()
00208 
00209         # Michael sez:  "doesn't crash without this.  don't know why."
00210         # Tim sez:  "luck of the draw; crashes with or without for me."
00211         print(file=f)
00212 
00213         return repr("machiavelli")


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