code: def _pprint_chain_map(
      self, object, stream, indent, allowance, context, level
  ):
      if not len(object.maps):
          stream.write(repr(object))
          return
      cls = object.__class__
      stream.write(cls.__name__ + "(")
      indent += len(cls.__name__) + 1
      for i, m in enumerate(object.maps):
          if i == len(object.maps) - 1:
              self._format(
                  m, stream, indent, allowance + 1, context, level
              )
              stream.write(")")
          else:
              self._format(m, stream, indent, 1, context, level)
              stream.write(",\n" + " " * indent)
  
imports: import collections
  import dataclasses
  import re
  import sys
  import types
  from io import StringIO
label_desc: Use image node_id 25 for calling the PrettyPrinter obj's underlying member method code with example usage: obj._pprint_chain_map(object, stream, indent, allowance, context, level) without return types