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

Method __iter__

Lib/dbm/sqlite3.py:108–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 raise KeyError(key)
107
108 def __iter__(self):
109 try:
110 with self._execute(ITER_KEYS) as cu:
111 for row in cu:
112 yield row[0]
113 except sqlite3.Error as exc:
114 raise error(str(exc))
115
116 def close(self):
117 if self._cx:

Callers

nothing calls this directly

Calls 3

_executeMethod · 0.95
strFunction · 0.85
errorClass · 0.70

Tested by

no test coverage detected