class_docstr: Text on the clipboard.
  
  :param text: string
  :param type: :class:`~prompt_toolkit.selection.SelectionType`
code: def __init__(self, text="", type=SelectionType.CHARACTERS):
      assert isinstance(text, six.string_types)
      assert type in (
          SelectionType.CHARACTERS,
          SelectionType.LINES,
          SelectionType.BLOCK,
      )
  
      self.text = text
      self.type = type
  
file_path: catboost/contrib/python/prompt-toolkit/py2/prompt_toolkit/clipboard/base.py
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from six import with_metaclass
  import six
  from prompt_toolkit.selection import SelectionType
label_desc: Use image node_id 1 to create a new ClipboardData object from inherited base classes: object with example: obj = ClipboardData(text, type)