diff options
author | Barry Warsaw <barry@python.org> | 2000-07-11 04:58:12 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-07-11 04:58:12 +0000 |
commit | 771d0675b6fc08f2744c71cc66664d4ea4b22271 (patch) | |
tree | f1c1edcad8a33c8b4b078b35f6b8c6b090e58c01 /Python/exceptions.c | |
parent | 20f41b64563283467529dd1a001afafebf10d939 (diff) | |
download | cpython-git-771d0675b6fc08f2744c71cc66664d4ea4b22271.tar.gz |
string_join(): Some cleaning up of reference counting. In the
seqlen==1 clause, before returning item, we need to DECREF seq. In
the res=PyString... failure clause, we need to goto finally to also
decref seq (and the DECREF of res in finally is changed to a
XDECREF). Also, we need to DECREF seq just before the
PyUnicode_Join() return.
Diffstat (limited to 'Python/exceptions.c')
0 files changed, 0 insertions, 0 deletions