Lines Matching refs:PyErr_SetString
49 { PyErr_SetString(DbmError, "GDBM object has already been closed"); \
80 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in newdbmobject()
101 PyErr_SetString(DbmError, "GDBM object has already been closed"); in dbm_length()
132 PyErr_SetString(DbmError, in dbm_subscript()
177 PyErr_SetString(PyExc_TypeError, in dbm_ass_sub()
182 PyErr_SetString(DbmError, in dbm_ass_sub()
195 PyErr_SetString(PyExc_TypeError, in dbm_ass_sub()
204 PyErr_SetString(DbmError, in dbm_ass_sub()
316 PyErr_SetString(DbmError, in dbm_contains()
442 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in _gdbm_gdbm_reorganize_impl()
580 PyErr_SetString(DbmError, in dbmopen_impl()
605 PyErr_SetString(DbmError, buf); in dbmopen_impl()
617 PyErr_SetString(PyExc_ValueError, "embedded null character"); in dbmopen_impl()