[Python-checkins] r62849 - python/trunk/Lib/fractions.py

raymond.hettinger python-checkins at python.org
Thu May 8 06:36:12 CEST 2008


Author: raymond.hettinger
Date: Thu May  8 06:36:12 2008
New Revision: 62849

Log:
The __all__ variable forgot to expose the gcd() function.

Modified:
   python/trunk/Lib/fractions.py

Modified: python/trunk/Lib/fractions.py
==============================================================================
--- python/trunk/Lib/fractions.py	(original)
+++ python/trunk/Lib/fractions.py	Thu May  8 06:36:12 2008
@@ -9,7 +9,7 @@
 import operator
 import re
 
-__all__ = ["Fraction"]
+__all__ = ['Fraction', 'gcd']
 
 Rational = numbers.Rational
 


More information about the Python-checkins mailing list