summaryrefslogtreecommitdiff
path: root/Doc/whatsnew/3.11.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.11.rst')
-rw-r--r--Doc/whatsnew/3.11.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 74fc7536ea..a03fff8a9e 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -193,8 +193,12 @@ Improved Modules
fractions
---------
-Support :PEP:`515`-style initialization of :class:`~fractions.Fraction` from
-string. (Contributed by Sergey B Kirpichev in :issue:`44258`.)
+* Support :PEP:`515`-style initialization of :class:`~fractions.Fraction` from
+ string. (Contributed by Sergey B Kirpichev in :issue:`44258`.)
+
+* :class:`~fractions.Fraction` now implements an ``__int__`` method, so
+ that an ``isinstance(some_fraction, typing.SupportsInt)`` check passes.
+ (Contributed by Mark Dickinson in :issue:`44547`.)
math