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

Method _execute

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

Source from the content-addressed store, hash-verified

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

Callers 7

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

Calls 4

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

Tested by

no test coverage detected