From: Raymond Hettinger Date: Thu, 8 May 2008 04:36:12 +0000 (+0000) Subject: The __all__ variable forgot to expose the gcd() function. X-Git-Tag: v2.6a3~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf98f03a62c1e85eff9067cc980b630b619a1fc1;p=python The __all__ variable forgot to expose the gcd() function. --- 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