code: def _pprint_ordered_dict(
      self, object, stream, indent, allowance, context, level
  ):
      if not len(object):
          stream.write(repr(object))
          return
      cls = object.__class__
      stream.write(cls.__name__ + "(")
      self._format(
          list(object.items()),
          stream,
          indent + len(cls.__name__) + 1,
          allowance + 1,
          context,
          level,
      )
      stream.write(")")
  
imports: import collections
  import dataclasses
  import re
  import sys
  import types
  from io import StringIO
label_desc: Use image node_id 9 for calling the PrettyPrinter obj's underlying member method code with example usage: obj._pprint_ordered_dict(object, stream, indent, allowance, context, level) without return types