class_docstr: Abstraction for any input.
  
  An instance of this class can be given to the constructor of a
  :class:`~prompt_toolkit.interface.CommandLineInterface` and will also be
  passed to the :class:`~prompt_toolkit.eventloop.base.EventLoop`.
class_docstr_tok: ["Abstraction","for","any","input",".","An","instance","of","this","class","can","be","given","to","the","constructor","of","a",":","class",":","`","~prompt_toolkit.interface.CommandLineInterface","`","and","will","also","be","passed","to","the",":","class",":","`","~prompt_toolkit.eventloop.base.EventLoop","`","."]
docstr: Context manager that turns the input into cooked mode.
docstr_tok: ["Context","manager","that","turns","the","input","into","cooked","mode","."]
code: def cooked_mode(self):
      """
      Context manager that turns the input into cooked mode.
      """
  
imports: from __future__ import unicode_literals
  from .utils import DummyContext, is_windows
  from abc import ABCMeta, abstractmethod
  from six import with_metaclass
  import io
  import os
  import sys
label_desc: Use image node_id 4 for calling the Input obj's underlying member method code with example usage: obj.cooked_mode() without return types