class_docstr: Format tokens with groff escapes to change their color and font style.
  
  .. versionadded:: 2.11
  
  Additional options accepted:
  
  `style`
      The style to use, can be a string or a Style subclass (default:
      ``'default'``).
  
  `monospaced`
      If set to true, monospace font will be used (default: ``true``).
  
  `linenos`
      If set to true, print the line numbers (default: ``false``).
  
  `wrap`
      Wrap lines to the specified number of characters. Disabled if set to 0
      (default: ``0``).
code: def __init__(self, **options):
      Formatter.__init__(self, **options)
  
      self.monospaced = get_bool_opt(options, "monospaced", True)
      self.linenos = get_bool_opt(options, "linenos", False)
      self._lineno = 0
      self.wrap = get_int_opt(options, "wrap", 0)
      self._linelen = 0
  
      self.styles = {}
      self._make_styles()
  
file_path: catboost/contrib/python/Pygments/py3/pygments/formatters/groff.py
imports: import math
  from pygments.formatter import Formatter
  from pygments.util import get_bool_opt, get_int_opt
label_desc: Use image node_id 1 to create a new GroffFormatter object from inherited base classes: Formatter with example: obj = GroffFormatter()