]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
binary_op1(), ternary_op(): rearrange the code so that slotw is tested
authorGuido van Rossum <guido@python.org>
Mon, 1 Oct 2001 17:10:18 +0000 (17:10 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 1 Oct 2001 17:10:18 +0000 (17:10 +0000)
commit89c4264792da06293b197e14f581763f46138935
treedeb196e01a8db9d38aeb9ad7c72745dc0b8cd0b8
parent6c81e2a44fd6ab5cacbb2e1d5c48933d65a58948
binary_op1(), ternary_op(): rearrange the code so that slotw is tested
(to see whether __rop__ should go before __op__) only when slotv is
set.  This saves a test+branch when only slotw is set.
Objects/abstract.c