summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-05-08 04:36:12 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-05-08 04:36:12 (GMT)
commitcf98f03a62c1e85eff9067cc980b630b619a1fc1 (patch)
tree9d9d651cd9adbc16e43fc36ec4addab576756c1c
parentc5a1cc5c37795cf243e1ba83cfa3cb39ec62a61c (diff)
downloadcpython-cf98f03a62c1e85eff9067cc980b630b619a1fc1.zip
cpython-cf98f03a62c1e85eff9067cc980b630b619a1fc1.tar.gz
cpython-cf98f03a62c1e85eff9067cc980b630b619a1fc1.tar.bz2
The __all__ variable forgot to expose the gcd() function.
-rwxr-xr-xLib/fractions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/fractions.py b/Lib/fractions.py
index 8ac1dfa..0d85f15 100755
--- a/Lib/fractions.py
+++ b/Lib/fractions.py
@@ -9,7 +9,7 @@ import numbers
import operator
import re
-__all__ = ["Fraction"]
+__all__ = ['Fraction', 'gcd']
Rational = numbers.Rational