()
Close the sequence.
Close the sequence.
Close the sequence .
def close():
    """Close the sequence."""
    global _state
    state = _state
    _state = None
    if state:
        state.close()
def close ( ) : global _state state = _state _state = None if state : state . close ( )