parameters: ()
docstring: Close the sequence.
docstring_summary: Close the sequence.
docstring_tokens: Close the sequence .
function: def close():
      """Close the sequence."""
      global _state
      state = _state
      _state = None
      if state:
          state.close()
function_tokens: def close ( ) : global _state state = _state _state = None if state : state . close ( )