diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-20 00:46:31 +0300 |
|---|---|---|
| committer | Victor Stinner <vstinner@redhat.com> | 2018-10-19 23:46:31 +0200 |
| commit | b2e2025941f6a4fdb716bd141d31acf720353d21 (patch) | |
| tree | 3c372b7dc98aec792be04617f3b7626904190351 /Doc/whatsnew | |
| parent | b981fec8d63697e8265d016582ce84944f272d55 (diff) | |
| download | cpython-git-b2e2025941f6a4fdb716bd141d31acf720353d21.tar.gz | |
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/whatsnew')
| -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 e522addf39..93dd24acaa 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>`. |
