From cf98f03a62c1e85eff9067cc980b630b619a1fc1 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 8 May 2008 04:36:12 +0000 Subject: [PATCH] The __all__ variable forgot to expose the gcd() function. --- Lib/fractions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/fractions.py b/Lib/fractions.py index 8ac1dfa5daf..0d85f15d6cc 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