code: def _format_namespace_items(
      self, items, stream, indent, allowance, context, level
  ):
      write = stream.write
      delimnl = ",\n" + " " * indent
      last_index = len(items) - 1
      for i, (key, ent) in enumerate(items):
          last = i == last_index
          write(key)
          write("=")
          if id(ent) in context:
              # Special-case representation of recursion to match standard
              # recursive dataclass repr.
              write("...")
          else:
              self._format(
                  ent,
                  stream,
                  indent + len(key) + 1,
                  allowance if last else 1,
                  context,
                  level,
              )
          if not last:
              write(delimnl)
  
imports: import collections
  import dataclasses
  import re
  import sys
  import types
  from io import StringIO
label_desc: Use image node_id 19 for calling the PrettyPrinter obj's underlying member method code with example usage: obj._format_namespace_items(items, stream, indent, allowance, context, level) without return types