]> granicus.if.org Git - python/commit
Changes to long and float by Jeffrey Jasskin to conform to PEP 3141.
authorGuido van Rossum <guido@python.org>
Wed, 1 Aug 2007 18:08:08 +0000 (18:08 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 1 Aug 2007 18:08:08 +0000 (18:08 +0000)
commitb43daf709600f5b734fb1a647666c2f4c0626519
tree22989fadb044796cc3533d1f0ba975d8a6f02f22
parenta6bcefca8128d2eb1dff46037f23c111d4a44297
Changes to long and float by Jeffrey Jasskin to conform to PEP 3141.
In particular, add trivial implementations of .real, .imag and .conjugate()
to both, and add .numerator and .denominator to long.
Also some small optimizations (e.g. remove long_pos in favor of long_long).
Objects/floatobject.c
Objects/longobject.c