parameters: (buffer=1)
return_statement: return c
docstring: Get a console handle.
  
          If buffer is non-zero, a new console buffer is allocated and
          installed.  Otherwise, this returns a handle to the current
          console buffer
docstring_summary: Get a console handle.
docstring_tokens: Get a console handle .
function: def getconsole(buffer=1):
      """Get a console handle.
  
          If buffer is non-zero, a new console buffer is allocated and
          installed.  Otherwise, this returns a handle to the current
          console buffer"""
  
      c = Console(buffer)
  
      return c
function_tokens: def getconsole ( buffer = 1 ) : c = Console ( buffer ) return c