MCPcopy Index your code
hub / github.com/RustPython/RustPython / _execute

Method _execute

Lib/dbm/sqlite3.py:79–85  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

77 self._execute(BUILD_TABLE)
78
79 def _execute(self, *args, **kwargs):
80 if not self._cx:
81 raise error(_ERR_CLOSED)
82 try:
83 return closing(self._cx.execute(*args, **kwargs))
84 except sqlite3.Error as exc:
85 raise error(str(exc))
86
87 def __len__(self):
88 with self._execute(GET_SIZE) as cu:

Callers 6

__init__Method · 0.95
__len__Method · 0.95
__getitem__Method · 0.95
__setitem__Method · 0.95
__delitem__Method · 0.95
__iter__Method · 0.95

Calls 4

closingClass · 0.90
strFunction · 0.85
errorClass · 0.70
executeMethod · 0.45

Tested by

no test coverage detected