summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-05-08 04:36:12 +0000
committerRaymond Hettinger <python@rcn.com>2008-05-08 04:36:12 +0000
commitcf98f03a62c1e85eff9067cc980b630b619a1fc1 (patch)
tree9d9d651cd9adbc16e43fc36ec4addab576756c1c
parentc5a1cc5c37795cf243e1ba83cfa3cb39ec62a61c (diff)
downloadcpython-git-cf98f03a62c1e85eff9067cc980b630b619a1fc1.tar.gz
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 8ac1dfa5da..0d85f15d6c 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