]> granicus.if.org Git - python/commit
Modify the Py_RETURN_* macros to be of the form ``do {...} while (0)`` in order
authorBrett Cannon <bcannon@gmail.com>
Sun, 19 Oct 2003 22:58:11 +0000 (22:58 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 19 Oct 2003 22:58:11 +0000 (22:58 +0000)
commit4b17e3993b7d4ada586e66ad40a73e12e086645e
tree61479e2baf6f40a3dce139262834fbffac4f7c47
parent26b3a7b82cbeff578bd76be0c6dcc4c572a523c9
Modify the Py_RETURN_* macros to be of the form ``do {...} while (0)`` in order
to handle situations like ``if (foo) Py_RETURN_NONE else ...``.
Include/boolobject.h
Include/object.h