Commit b65fa5a0 authored by 's avatar

Removed extraneous PyErr_Clear call.

parent 9f026f22
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
****************************************************************************/ ****************************************************************************/
static char cDocumentTemplate_module_documentation[] = static char cDocumentTemplate_module_documentation[] =
"" ""
"\n$Id: cDocumentTemplate.c,v 1.28 1999/08/30 17:18:07 brian Exp $" "\n$Id: cDocumentTemplate.c,v 1.29 1999/08/30 17:54:01 brian Exp $"
; ;
#include "ExtensionClass.h" #include "ExtensionClass.h"
...@@ -409,7 +409,6 @@ MM_cget(MM *self, PyObject *key, int call) ...@@ -409,7 +409,6 @@ MM_cget(MM *self, PyObject *key, int call)
AttributeError to avoid leaking. AttributeError to avoid leaking.
*/ */
else { else {
PyErr_Clear();
Py_XDECREF(t); Py_XDECREF(t);
Py_XDECREF(rr); Py_XDECREF(rr);
Py_XDECREF(tb); Py_XDECREF(tb);
...@@ -1043,7 +1042,7 @@ void ...@@ -1043,7 +1042,7 @@ void
initcDocumentTemplate() initcDocumentTemplate()
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.28 $"; char *rev="$Revision: 1.29 $";
PURE_MIXIN_CLASS(cDocument, PURE_MIXIN_CLASS(cDocument,
"Base class for documents that adds fast validation method", "Base class for documents that adds fast validation method",
Document_methods); Document_methods);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment