summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-19 21:46:31 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-10-19 21:46:31 (GMT)
commitb2e2025941f6a4fdb716bd141d31acf720353d21 (patch)
tree3c372b7dc98aec792be04617f3b7626904190351 /Doc
parentb981fec8d63697e8265d016582ce84944f272d55 (diff)
downloadcpython-b2e2025941f6a4fdb716bd141d31acf720353d21.zip
cpython-b2e2025941f6a4fdb716bd141d31acf720353d21.tar.gz
cpython-b2e2025941f6a4fdb716bd141d31acf720353d21.tar.bz2
bpo-33073: Rework int.as_integer_ratio() implementation (GH-9303)
* Simplify the C code. * Simplify tests and make them more strict and robust. * Add references in the documentation.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.8.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index e522add..93dd24a 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -91,8 +91,8 @@ Other Language Changes
was lifted.
(Contributed by Serhiy Storchaka in :issue:`32489`.)
-* The ``int`` type now has a new ``as_integer_ratio`` method compatible
- with the existing ``float.as_integer_ratio`` method.
+* The :class:`int` type now has a new :meth:`~int.as_integer_ratio` method
+ compatible with the existing :meth:`float.as_integer_ratio` method.
(Contributed by Lisa Roach in :issue:`33073`.)
* Added support of ``\N{name}`` escapes in :mod:`regular expressions <re>`.