diff options
author | Raymond Hettinger <python@rcn.com> | 2008-05-08 04:36:12 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-05-08 04:36:12 (GMT) |
commit | cf98f03a62c1e85eff9067cc980b630b619a1fc1 (patch) | |
tree | 9d9d651cd9adbc16e43fc36ec4addab576756c1c /Lib/fractions.py | |
parent | c5a1cc5c37795cf243e1ba83cfa3cb39ec62a61c (diff) | |
download | cpython-cf98f03a62c1e85eff9067cc980b630b619a1fc1.zip cpython-cf98f03a62c1e85eff9067cc980b630b619a1fc1.tar.gz cpython-cf98f03a62c1e85eff9067cc980b630b619a1fc1.tar.bz2 |
The __all__ variable forgot to expose the gcd() function.
Diffstat (limited to 'Lib/fractions.py')
-rwxr-xr-x | Lib/fractions.py | 2 |
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 |