summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-10-12 06:00:58 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-10-12 06:00:58 (GMT)
commitb329e1bb5bd2a59cf22550dc19c8744491d51801 (patch)
treef5e8bd8750723b7b4aeb1f9f3df58d6be4b731ff /Objects
parent1c3a121bb04b716b9387f6eed7ee6120ed140f9d (diff)
downloadcpython-b329e1bb5bd2a59cf22550dc19c8744491d51801.zip
cpython-b329e1bb5bd2a59cf22550dc19c8744491d51801.tar.gz
cpython-b329e1bb5bd2a59cf22550dc19c8744491d51801.tar.bz2
va_end vargs2 once (closes #28417)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index b58cf02..91be603 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -2895,7 +2895,6 @@ PyUnicode_FromFormatV(const char *format, va_list vargs)
do
{
if ((unsigned char)*p > 127) {
- va_end(vargs2);
PyErr_Format(PyExc_ValueError,
"PyUnicode_FromFormatV() expects an ASCII-encoded format "
"string, got a non-ASCII byte: 0x%02x",