parameters: (self)
return_statement: return self._height_and_width()[0]
docstring: The height of the terminal in characters
  
          If no stream or a stream not representing a terminal was passed in at
          construction, return the dimension of the controlling terminal so
          piping to things that eventually display on the terminal (like ``less
          -R``) work. If a stream representing a terminal was passed in, return
          the dimensions of that terminal. If there somehow is no controlling
          terminal, return ``None``. (Thus, you should check that ``is_a_tty`` is
          true before doing any math on the result.)
docstring_summary: The height of the terminal in characters
docstring_tokens: The height of the terminal in characters
function: def height(self):
          """The height of the terminal in characters
  
          If no stream or a stream not representing a terminal was passed in at
          construction, return the dimension of the controlling terminal so
          piping to things that eventually display on the terminal (like ``less
          -R``) work. If a stream representing a terminal was passed in, return
          the dimensions of that terminal. If there somehow is no controlling
          terminal, return ``None``. (Thus, you should check that ``is_a_tty`` is
          true before doing any math on the result.)
  
          """
          return self._height_and_width()[0]
function_tokens: def height ( self ) : return self . _height_and_width ( ) [ 0 ]