summaryrefslogtreecommitdiff
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-09-29 09:27:15 +0200
committerGeorg Brandl <georg@python.org>2012-09-29 09:27:15 +0200
commit99a247fd01c1cd780c0c3ee1116657627f1ee744 (patch)
tree319e33cb6612c3fafb2eb82e15c5e85e3d771e4f /Python/formatter_unicode.c
parent1628eaa5dc8892ff381ca7558cc7c8d80fac494d (diff)
parent8ed677db129171317b8ee7cd45b39b9013f5a2d6 (diff)
downloadcpython-git-99a247fd01c1cd780c0c3ee1116657627f1ee744.tar.gz
Merge with main repo default branch.
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r--Python/formatter_unicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index a263efc84f..aa62502dbe 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -1099,7 +1099,7 @@ format_float_internal(PyObject *value,
&locale, 0);
done:
- Py_DECREF(unicode_tmp);
+ Py_XDECREF(unicode_tmp);
free_locale_info(&locale);
return result;
}