docs: def cpprint(
      object,
      stream=_UNSET_SENTINEL,
      indent=_UNSET_SENTINEL,
      width=_UNSET_SENTINEL,
      depth=_UNSET_SENTINEL,
      *,
      compact=False,
      ribbon_width=_UNSET_SENTINEL,
      max_seq_len=_UNSET_SENTINEL,
      sort_dict_keys=_UNSET_SENTINEL,
      style=None,
      end='\n'
  ):
      """Pretty print a Python value ``object`` to ``stream``,
      which defaults to sys.stdout. The output will be colored and
      syntax highlighted.
  
      :param indent: number of spaces to add for each level of nesting.
      :param stream: the output stream, defaults to sys.stdout
      :param width: a soft maximum allowed number of columns in the output,
                    which the layout algorithm attempts to stay under.
      :param depth: maximum depth to print nested structures
      :param ribbon_width: a soft maximum allowed number of columns in the output,
                           after indenting the line
      :param max_seq_len: a maximum sequence length that applies to subclasses of
                          lists, sets, frozensets, tuples and dicts. A trailing
                          comment that indicates the number of truncated elements.
                          Setting max_seq_len to ``None`` disables truncation.
      :param sort_dict_keys: a ``bool`` value indicating if dict keys should be
                             sorted in the output. Defaults to ``False``, in
                             which case the default order is used, which is the
                             insertion order in CPython 3.6+.
      :param style: one of ``'light'``, ``'dark'`` or a subclass
                    of ``pygments.styles.Style``. If omitted,
                    will use the default style. If the default style
                    is not changed by the user with :func:`~prettyprinter.set_default_style`,
                    the default is ``'dark'``.
      """
      sdocs = python_to_sdocs(
          object,
          **_merge_defaults(
              indent=indent,
              width=width,
              depth=depth,
              ribbon_width=ribbon_width,
              max_seq_len=max_seq_len,
              sort_dict_keys=sort_dict_keys,
          )
      )
      stream = (
          # This is not in _default_config in case
          # sys.stdout changes.
          sys.stdout
          if stream is _UNSET_SENTINEL
          else stream
      )
      colored_render_to_stream(stream, sdocs, style=style)
      if end:
          stream.write(end)