summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2022-09-04 12:15:59 (GMT)
committerGitHub <noreply@github.com>2022-09-04 12:15:59 (GMT)
commit8464b754c4168586b99e2135ccd2567e025625a9 (patch)
treed4a79892904a7d853a10ed6b6e8dae5f5f428e54 /Misc/NEWS.d
parent9b9394df5fa808f9a125e3e472e7df4c24aea5a1 (diff)
downloadcpython-8464b754c4168586b99e2135ccd2567e025625a9.zip
cpython-8464b754c4168586b99e2135ccd2567e025625a9.tar.gz
cpython-8464b754c4168586b99e2135ccd2567e025625a9.tar.bz2
gh-68163: Correct conversion of Rational instances to float (GH-25619)
* gh-68163: Correct conversion of Rational instances to float Also document that numerator/denominator properties are instances of Integral. Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2022-09-04-12-32-52.gh-issue-68163.h6TJCc.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-09-04-12-32-52.gh-issue-68163.h6TJCc.rst b/Misc/NEWS.d/next/Library/2022-09-04-12-32-52.gh-issue-68163.h6TJCc.rst
new file mode 100644
index 0000000..756f6c9
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-09-04-12-32-52.gh-issue-68163.h6TJCc.rst
@@ -0,0 +1 @@
+Correct conversion of :class:`numbers.Rational`'s to :class:`float`.