[Python-checkins] r60272 - python/trunk/Lib/rational.py
raymond.hettinger
python-checkins at python.org
Fri Jan 25 02:13:12 CET 2008
Author: raymond.hettinger
Date: Fri Jan 25 02:13:12 2008
New Revision: 60272
Modified:
python/trunk/Lib/rational.py
Log:
Add one other review comment.
Modified: python/trunk/Lib/rational.py
==============================================================================
--- python/trunk/Lib/rational.py (original)
+++ python/trunk/Lib/rational.py Fri Jan 25 02:13:12 2008
@@ -14,7 +14,7 @@
RationalAbc = numbers.Rational
-def _gcd(a, b):
+def _gcd(a, b): # XXX This is a useful function. Consider making it public.
"""Calculate the Greatest Common Divisor.
Unless b==0, the result will have the same sign as b (so that when
More information about the Python-checkins
mailing list