]> granicus.if.org Git - python/commit
Mini-PEP: Simplifying numbers.py
authorRaymond Hettinger <python@rcn.com>
Wed, 11 Jun 2008 00:25:29 +0000 (00:25 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 11 Jun 2008 00:25:29 +0000 (00:25 +0000)
commitcaea65e465101554b3cf46ca107e60027f8da312
tree186a9f1eaab8d5913956a5df4c79c16f75054396
parent31296c09ed1f1114a325da4ecafc5a8d8f079284
Mini-PEP: Simplifying numbers.py
* Convert binary methods in Integral to mixin methods
* Remove three-arg __pow__ as a required method
* Make __int__ the root method instead of __long__.
Lib/numbers.py