Lines Matching refs:PyErr_SetString
44 { PyErr_SetString(DbmError, "DBM object has already been closed"); \
80 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_length()
109 PyErr_SetString(PyExc_KeyError, in dbm_subscript()
115 PyErr_SetString(DbmError, ""); in dbm_subscript()
128 PyErr_SetString(PyExc_TypeError, in dbm_ass_sub()
134 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_ass_sub()
141 PyErr_SetString(PyExc_KeyError, in dbm_ass_sub()
147 PyErr_SetString(PyExc_TypeError, in dbm_ass_sub()
154 PyErr_SetString(DbmError, in dbm_ass_sub()
161 PyErr_SetString(DbmError, ""); in dbm_ass_sub()
181 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_contains()
312 PyErr_SetString(DbmError, "cannot add item to database"); in dbm_setdefault()
387 PyErr_SetString(DbmError, in dbmopen()