summaryrefslogtreecommitdiffstats
path: root/Modules/parsermodule.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-08-04 15:58:10 (GMT)
committerFred Drake <fdrake@acm.org>1998-08-04 15:58:10 (GMT)
commit7f875ef74993a32e6206d728677be29ab43e719d (patch)
tree53df0de47a951b51f43a0445080b0e06ac4a4b60 /Modules/parsermodule.c
parentfcfb6323fb0030467d67b071654b342b7725727f (diff)
downloadcpython-7f875ef74993a32e6206d728677be29ab43e719d.zip
cpython-7f875ef74993a32e6206d728677be29ab43e719d.tar.gz
cpython-7f875ef74993a32e6206d728677be29ab43e719d.tar.bz2
parser__pickler(): Use Py_DECREF() when reference is known to be non-NULL.
Diffstat (limited to 'Modules/parsermodule.c')
-rw-r--r--Modules/parsermodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c
index eba64a4..cd8381c 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -2704,7 +2704,7 @@ parser__pickler(self, args)
result = Py_BuildValue("O(O)", pickle_constructor, tuple);
Py_DECREF(tuple);
}
- Py_XDECREF(newargs);
+ Py_DECREF(newargs);
}
finally:
return (result);