code: def pformat(self, object):
      sio = _StringIO()
      self._format(object, sio, 0, 0, {}, 0)
      return sio.getvalue()
  
imports: import collections
  import dataclasses
  import re
  import sys
  import types
  from io import StringIO
label_desc: Use image node_id 3 for calling the PrettyPrinter obj's underlying member method code with example usage: obj.pformat(object) and returns: sio