Lines Matching refs:PyErr_SetString
41 { PyErr_SetString(DbmError, "GDBM object has already been closed"); \
72 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in newdbmobject()
93 PyErr_SetString(DbmError, "GDBM object has already been closed"); in dbm_length()
124 PyErr_SetString(DbmError, in dbm_subscript()
130 PyErr_SetString(PyExc_KeyError, in dbm_subscript()
145 PyErr_SetString(PyExc_TypeError, in dbm_ass_sub()
150 PyErr_SetString(DbmError, in dbm_ass_sub()
157 PyErr_SetString(PyExc_KeyError, in dbm_ass_sub()
164 PyErr_SetString(PyExc_TypeError, in dbm_ass_sub()
173 PyErr_SetString(DbmError, in dbm_ass_sub()
187 PyErr_SetString(DbmError, in dbm_contains()
368 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in dbm_reorganize()
480 PyErr_SetString(DbmError, in dbmopen()
505 PyErr_SetString(DbmError, buf); in dbmopen()