class_docstr: Baseclass for the `RepresentationPrinter` prettyprinter that is used to
  generate pretty reprs of objects.
  
  Contrary to the `RepresentationPrinter` this printer knows nothing
  about the default pprinters or the `_repr_pretty_` callback method.
class_docstr_tok: ["Baseclass","for","the","`","RepresentationPrinter","`","prettyprinter","that","is","used","to","generate","pretty","reprs","of","objects",".","Contrary","to","the","`","RepresentationPrinter","`","this","printer","knows","nothing","about","the","default","pprinters","or","the","`","_repr_pretty_","`","callback","method","."]
code: def __init__(
      self,
      output,
      max_width=79,
      newline="\n",
      max_seq_length=MAX_SEQ_LENGTH,
  ):
      self.broken = False
      self.output = output
      self.max_width = max_width
      self.newline = newline
      self.max_seq_length = max_seq_length
      self.output_width = 0
      self.buffer_width = 0
      self.buffer = deque()
  
      root_group = Group(0)
      self.group_stack = [root_group]
      self.group_queue = GroupQueue(root_group)
      self.indentation = 0
  
imports: from __future__ import absolute_import, division, print_function
  import datetime
  import platform
  import re
  import sys
  import types
  from collections import deque
  from contextlib import contextmanager
  from io import StringIO
  from hypothesis.internal.compat import PY3, cast_unicode, get_stream_enc, string_types
label_desc: Use image node_id 1 to create a new PrettyPrinter object from inherited base classes: _PrettyPrinterBase with example: obj = PrettyPrinter(output, max_width, newline, max_seq_length)