Lines Matching refs:PyErr_SetString
49 { PyErr_SetString(DbmError, "DBM object has already been closed"); \
86 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_length()
120 PyErr_SetString(DbmError, ""); in dbm_subscript()
133 PyErr_SetString(PyExc_TypeError, in dbm_ass_sub()
139 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_ass_sub()
151 PyErr_SetString(PyExc_TypeError, in dbm_ass_sub()
158 PyErr_SetString(DbmError, in dbm_ass_sub()
165 PyErr_SetString(DbmError, ""); in dbm_ass_sub()
236 PyErr_SetString(DbmError, in dbm_contains()
337 PyErr_SetString(PyExc_TypeError, in _dbm_dbm_setdefault_impl()
346 PyErr_SetString(DbmError, "cannot add item to database"); in _dbm_dbm_setdefault_impl()
449 PyErr_SetString(DbmError, in dbmopen_impl()
461 PyErr_SetString(PyExc_ValueError, "embedded null character"); in dbmopen_impl()