parameters: (files=None, inplace=False, backup="", bufsize=0,
            mode="r", openhook=None)
return_statement: return _state
docstring: Return an instance of the FileInput class, which can be iterated.
  
      The parameters are passed to the constructor of the FileInput class.
      The returned instance, in addition to being an iterator,
      keeps global state for the functions of this module,.
docstring_summary: Return an instance of the FileInput class, which can be iterated.
docstring_tokens: Return an instance of the FileInput class which can be iterated .
function: def input(files=None, inplace=False, backup="", bufsize=0,
            mode="r", openhook=None):
      """Return an instance of the FileInput class, which can be iterated.
  
      The parameters are passed to the constructor of the FileInput class.
      The returned instance, in addition to being an iterator,
      keeps global state for the functions of this module,.
      """
      global _state
      if _state and _state._file:
          raise RuntimeError("input() already active")
      _state = FileInput(files, inplace, backup, bufsize, mode, openhook)
      return _state
function_tokens: def input ( files = None , inplace = False , backup = "" , bufsize = 0 , mode = "r" , openhook = None ) : global _state if _state and _state . _file : raise RuntimeError ( "input() already active" ) _state = FileInput ( files , inplace , backup , bufsize , mode , openhook ) return _state