summaryrefslogtreecommitdiffstats
path: root/Doc/library/fractions.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/fractions.rst')
-rw-r--r--Doc/library/fractions.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst
index c46d88b..dc9d5fc 100644
--- a/Doc/library/fractions.rst
+++ b/Doc/library/fractions.rst
@@ -117,6 +117,12 @@ another rational number, or from a string.
.. versionadded:: 3.8
+ .. method:: is_integer()
+
+ Return ``True`` if the Fraction is an integer.
+
+ .. versionadded:: 3.12
+
.. classmethod:: from_float(flt)
Alternative constructor which only accepts instances of