Back to index
00180 00181 def __init__(self): 00182 self.a = Child(self) 00183 00184 # Hard to say what this will print! May vary from time to time. But 00185 # we're specifically trying to test the tp_print slot here, and this is 00186 # the clearest way to do it. We print the result to a temp file so that 00187 # the expected-output file doesn't need to change.