code: def _pprint_deque(
      self, object, stream, indent, allowance, context, level
  ):
      if not len(object):
          stream.write(repr(object))
          return
      cls = object.__class__
      stream.write(cls.__name__ + "(")
      indent += len(cls.__name__) + 1
      stream.write("[")
      if object.maxlen is None:
          self._format_items(
              object, stream, indent, allowance + 2, context, level
          )
          stream.write("])")
      else:
          self._format_items(object, stream, indent, 2, context, level)
          rml = self._repr(object.maxlen, context, level)
          stream.write("],\n%smaxlen=%s)" % (" " * indent, rml))
  
imports: import collections
  import dataclasses
  import re
  import sys
  import types
  from io import StringIO
label_desc: Use image node_id 26 for calling the PrettyPrinter obj's underlying member method code with example usage: obj._pprint_deque(object, stream, indent, allowance, context, level) without return types