Exemplo n.º 1
0
 def type_pprint_wrapper(obj, p, cycle):
     if obj is MyObj:
         type_pprint_wrapper.called = True
     return pretty._type_pprint(obj, p, cycle)
Exemplo n.º 2
0
 def type_pprint_wrapper(obj, p, cycle):
     if obj is MyObj:
         type_pprint_wrapper.called = True
     return pretty._type_pprint(obj, p, cycle)