summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-10-11 23:00:58 -0700
committerBenjamin Peterson <benjamin@python.org>2016-10-11 23:00:58 -0700
commitb329e1bb5bd2a59cf22550dc19c8744491d51801 (patch)
treef5e8bd8750723b7b4aeb1f9f3df58d6be4b731ff /Objects/unicodeobject.c
parentIssue #18844: Fix-up examples for random.choices(). Remove over-specified t... (diff)
downloadcpython-b329e1bb5bd2a59cf22550dc19c8744491d51801.tar.gz
cpython-b329e1bb5bd2a59cf22550dc19c8744491d51801.tar.bz2
cpython-b329e1bb5bd2a59cf22550dc19c8744491d51801.zip
va_end vargs2 once (closes #28417)
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index b58cf02a8c0..91be6031ca5 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",