diff options
author | Fred Drake <fdrake@acm.org> | 1998-08-04 15:58:10 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-08-04 15:58:10 (GMT) |
commit | 7f875ef74993a32e6206d728677be29ab43e719d (patch) | |
tree | 53df0de47a951b51f43a0445080b0e06ac4a4b60 /Modules | |
parent | fcfb6323fb0030467d67b071654b342b7725727f (diff) | |
download | cpython-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')
-rw-r--r-- | Modules/parsermodule.c | 2 |
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); |