mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Revert my commit 7ba176c2f558: "Avoid useless "++" at the end of functions
Warnings found by the Clang Static Analyzer." Most people prefer ++ at the end of functions.
This commit is contained in:
parent
43b068648e
commit
4f2dab5c33
3 changed files with 5 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue