Lines Matching refs:DbmError
49 { PyErr_SetString(DbmError, "DBM object has already been closed"); \
52 static PyObject *DbmError; variable
65 PyErr_SetFromErrno(DbmError); in newdbmobject()
86 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_length()
120 PyErr_SetString(DbmError, ""); in dbm_subscript()
139 PyErr_SetString(DbmError, "DBM object has already been closed"); 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()
346 PyErr_SetString(DbmError, "cannot add item to database"); in _dbm_dbm_setdefault_impl()
449 PyErr_SetString(DbmError, in dbmopen_impl()
497 if (DbmError == NULL) in PyInit__dbm()
498 DbmError = PyErr_NewException("_dbm.error", in PyInit__dbm()
505 if (DbmError != NULL) in PyInit__dbm()
506 PyDict_SetItemString(d, "error", DbmError); in PyInit__dbm()