Lines Matching refs:DbmError
41 { PyErr_SetString(DbmError, "GDBM object has already been closed"); \
46 static PyObject *DbmError; variable
70 PyErr_SetFromErrno(DbmError); in newdbmobject()
72 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in newdbmobject()
93 PyErr_SetString(DbmError, "GDBM object has already been closed"); in dbm_length()
124 PyErr_SetString(DbmError, in dbm_subscript()
150 PyErr_SetString(DbmError, in dbm_ass_sub()
171 PyErr_SetFromErrno(DbmError); in dbm_ass_sub()
173 PyErr_SetString(DbmError, in dbm_ass_sub()
187 PyErr_SetString(DbmError, in dbm_contains()
366 PyErr_SetFromErrno(DbmError); in dbm_reorganize()
368 PyErr_SetString(DbmError, gdbm_strerror(gdbm_errno)); in dbm_reorganize()
480 PyErr_SetString(DbmError, in dbmopen()
505 PyErr_SetString(DbmError, buf); in dbmopen()
541 DbmError = PyErr_NewException("gdbm.error", NULL, NULL); in initgdbm()
542 if (DbmError != NULL) { in initgdbm()
543 PyDict_SetItemString(d, "error", DbmError); in initgdbm()