def _write_instance_repr(out, visited, name, pyop_attrdict, address):
 out.write('<')
 out.write(name)
 if isinstance(pyop_attrdict, PyDictObjectPtr):
  out.write('(')
  first = True
  for (pyop_arg, pyop_val) in pyop_attrdict.iteritems():
   if (not first):
    out.write(', ')
   first = False
   out.write(pyop_arg.proxyval(visited))
   out.write('=')
   pyop_val.write_repr(out, visited)
  out.write(')')
 out.write((' at remote 0x%x>' % address))

def _write_instance_repr ( out , visited , name , pyop_attrdict , address ) : out . write ( '<' ) out . write ( name ) if isinstance ( pyop_attrdict , PyDictObjectPtr ) : out . write ( '(' ) first = True for ( pyop_arg , pyop_val ) in pyop_attrdict . iteritems ( ) : if ( not first ) : out . write ( ', ' ) first = False out . write ( pyop_arg . proxyval ( visited ) ) out . write ( '=' ) pyop_val . write_repr ( out , visited ) out . write ( ')' ) out . write ( ( ' at remote 0x%x>' % address ) )
shared code for use by all classes: write a representation to file-like object "out" .