commit | cf98f03a62c1e85eff9067cc980b630b619a1fc1 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu May 08 04:36:12 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu May 08 04:36:12 2008 +0000 |
tree | 9d9d651cd9adbc16e43fc36ec4addab576756c1c | |
parent | c5a1cc5c37795cf243e1ba83cfa3cb39ec62a61c [diff] [blame] |
The __all__ variable forgot to expose the gcd() function.
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 operator import re -__all__ = ["Fraction"] +__all__ = ['Fraction', 'gcd'] Rational = numbers.Rational