Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ clear
Method
clear
lib/sqlalchemy/util/_collections_cy.py:142–144 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
140
self._list.remove(element)
141
142
def
clear(self) -> None:
143
set.clear(self)
144
self._list = []
145
146
def
__getitem__(self, key: cython.Py_ssize_t) -> _T:
147
return
self._list[key]
Callers
2
test_modify
Method · 0.95
clear
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_modify
Method · 0.76