]> granicus.if.org Git - python/commit
Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR.
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 27 Dec 2015 13:51:32 +0000 (15:51 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 27 Dec 2015 13:51:32 +0000 (15:51 +0200)
commit1ed017ae92b32b27186d5793f6e58c526f350a2b
tree05fec1ee9e107911f46d85f86efcabce50ff5680
parent726fc139a5f40d81a0013c856be1283da08de4a0
Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR.
Old code is correct, but with Py_SETREF and Py_CLEAR it can be cleaner.
This patch doesn't fix bugs and hence there is no need to backport it.
Modules/_collectionsmodule.c
Modules/_ctypes/_ctypes.c
Modules/_elementtree.c
Modules/_io/bytesio.c
Modules/itertoolsmodule.c
Modules/pyexpat.c
Objects/listobject.c
Objects/tupleobject.c
Objects/typeobject.c