class_docstr: A list of ``(style, text)`` tuples.
  
  (In some situations, this can also be ``(style, text, mouse_handler)``
  tuples.)
class_docstr_tok: ["A","list","of","``","(","style",",","text",")","``","tuples",".","(","In","some","situations",",","this","can","also","be","``","(","style",",","text",",","mouse_handler",")","``","tuples",".",")"]
code: def __pt_formatted_text__(self) -> StyleAndTextTuples:
      return self
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/formatted_text/base.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, Callable, Iterable, List, Tuple, Union, cast
  from prompt_toolkit.mouse_events import MouseEvent
label_desc: Use image node_id 1 for calling the FormattedText obj's underlying member method code with example usage: obj.__pt_formatted_text__() and returns: self