class_docstr: Template for string interpolation with formatted text.
  
  Example::
  
      Template(' ... {} ... ').format(HTML(...))
  
  :param text: Plain text.
class_docstr_tok: ["Template","for","string","interpolation","with","formatted","text",".","Example",":",":","Template","(","'","...","{","}","...","'",")",".format","(","HTML","(","...",")",")",":","param","text",":","Plain","text","."]
code: def __init__(self, text: str) -> None:
      assert "{0}" not in text
      self.text = text
  
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 to create a new Template object  with example: obj = Template(text)