MCPcopy Index your code
hub / github.com/python/cpython / __delitem__

Method __delitem__

Lib/dbm/sqlite3.py:103–106  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

101 self._execute(STORE_KV, (key, value))
102
103 def __delitem__(self, key):
104 with self._execute(DELETE_KEY, (key,)) as cu:
105 if not cu.rowcount:
106 raise KeyError(key)
107
108 def __iter__(self):
109 try:

Callers

nothing calls this directly

Calls 1

_executeMethod · 0.95

Tested by

no test coverage detected