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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf98f03a62c1e85eff9067cc980b630b619a1fc1;p=thirdparty%2FPython%2Fcpython.git The __all__ variable forgot to expose the gcd() function. --- diff --git a/Lib/fractions.py b/Lib/fractions.py index 8ac1dfa5daf5..0d85f15d6cc9 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