diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-19 21:46:31 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2018-10-19 21:46:31 (GMT) |
commit | b2e2025941f6a4fdb716bd141d31acf720353d21 (patch) | |
tree | 3c372b7dc98aec792be04617f3b7626904190351 /Doc | |
parent | b981fec8d63697e8265d016582ce84944f272d55 (diff) | |
download | cpython-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.rst | 4 |
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>`. |