Lines Matching refs:DbmError
44 { PyErr_SetString(DbmError, "DBM object has already been closed"); \
47 static PyObject *DbmError; variable
59 PyErr_SetFromErrno(DbmError); in newdbmobject()
80 PyErr_SetString(DbmError, "DBM object has already been closed"); in dbm_length()
115 PyErr_SetString(DbmError, ""); in dbm_subscript()
134 PyErr_SetString(DbmError, "DBM object has already been closed"); 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()
410 if (DbmError == NULL) in initdbm()
411 DbmError = PyErr_NewException("dbm.error", NULL, NULL); in initdbm()
417 if (DbmError != NULL) in initdbm()
418 PyDict_SetItemString(d, "error", DbmError); in initdbm()