]> granicus.if.org Git - python/commit
Issue #27786: Simplify x_sub()
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 17 Aug 2016 17:48:33 +0000 (19:48 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 17 Aug 2016 17:48:33 +0000 (19:48 +0200)
commit8bcf312d093cd90ca65b329d3f97ec2a1304c5b3
tree47799a8f87cbc220bc4e051f738f7526eb3cd893
parent82df3b3071bb003247c33eac4670775e9883c994
Issue #27786: Simplify x_sub()

The z variable is known to be a fresh number which cannot be shared, Py_SIZE()
can be used directly to negate the number.
Objects/longobject.c