diff options
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r-- | Objects/setobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index ebfddb3..2e62518 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -616,7 +616,7 @@ set_repr(PySetObject *so) Py_UNICODE_COPY(u, PyUnicode_AS_UNICODE(listrepr)+1, newsize-2); u += newsize-2; - *u = '}'; + *u++ = '}'; Py_DECREF(listrepr); if (Py_TYPE(so) != &PySet_Type) { |