summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/fractions.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst
index d3a4276..a4d006e 100644
--- a/Doc/library/fractions.rst
+++ b/Doc/library/fractions.rst
@@ -84,6 +84,10 @@ another rational number, or from a string.
The :class:`Fraction` constructor now accepts :class:`float` and
:class:`decimal.Decimal` instances.
+ .. versionchanged:: 3.9
+ The :func:`math.gcd` function is now used to normalize the *numerator*
+ and *denominator*. :func:`math.gcd` always return a :class:`int` type.
+ Previously, the GCD type depended on *numerator* and *denominator*.
.. attribute:: numerator