diff options
author | Raymond Hettinger <python@rcn.com> | 2008-05-08 04:36:12 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-05-08 04:36:12 +0000 |
commit | cf98f03a62c1e85eff9067cc980b630b619a1fc1 (patch) | |
tree | 9d9d651cd9adbc16e43fc36ec4addab576756c1c | |
parent | c5a1cc5c37795cf243e1ba83cfa3cb39ec62a61c (diff) | |
download | cpython-git-cf98f03a62c1e85eff9067cc980b630b619a1fc1.tar.gz |
The __all__ variable forgot to expose the gcd() function.
-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 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 |