Lines Matching refs:DbmError
50 { PyErr_SetString(DbmError, "DBM object has already been closed"); \
53 static PyObject *DbmError; variable
67 PyErr_SetFromErrnoWithFilename(DbmError, file); in newdbmobject()
88 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_length()
122 PyErr_SetString(DbmError, ""); in dbm_subscript()
141 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_ass_sub()
154 PyErr_SetString(DbmError, "cannot delete item from database"); in dbm_ass_sub()
167 PyErr_SetString(DbmError, in dbm_ass_sub()
174 PyErr_SetString(DbmError, ""); in dbm_ass_sub()
245 PyErr_SetString(DbmError, in dbm_contains()
355 PyErr_SetString(DbmError, "cannot add item to database"); in _dbm_dbm_setdefault_impl()
458 PyErr_SetString(DbmError, in dbmopen_impl()
506 if (DbmError == NULL) in PyInit__dbm()
507 DbmError = PyErr_NewException("_dbm.error", in PyInit__dbm()
514 if (DbmError != NULL) in PyInit__dbm()
515 PyDict_SetItemString(d, "error", DbmError); in PyInit__dbm()