diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2020-10-06 22:13:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 22:13:34 -0700 |
commit | 1cc1a8f11a769c42a162229f3e1fb3a0fa74d4b9 (patch) | |
tree | e739e0905d3b06a1ebbbfca18fbf324989b99ad4 /Doc/library/decimal.rst | |
parent | 044a1048ca93d466965afc027b91a5a9eb9ce23c (diff) | |
download | cpython-git-revert-6121-is_integer.tar.gz |
Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)"revert-6121-is_integer
This reverts commit 58a7da9e125422323f79c4ee95ac5549989d8162.
Diffstat (limited to 'Doc/library/decimal.rst')
-rw-r--r-- | Doc/library/decimal.rst | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index 7a64973059..e194649e30 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst @@ -621,13 +621,6 @@ Decimal objects Return :const:`True` if the argument is either positive or negative infinity and :const:`False` otherwise. - .. method:: is_integer() - - Return :const:`True` if the argument is a finite integral value and - :const:`False` otherwise. - - .. versionadded:: 3.10 - .. method:: is_nan() Return :const:`True` if the argument is a (quiet or signaling) NaN and @@ -1222,13 +1215,6 @@ In addition to the three supplied contexts, new contexts can be created with the Returns ``True`` if *x* is infinite; otherwise returns ``False``. - .. method:: is_integer(x) - - Returns ``True`` if *x* is finite and integral; otherwise - returns ``False``. - - .. versionadded:: 3.10 - .. method:: is_nan(x) Returns ``True`` if *x* is a qNaN or sNaN; otherwise returns ``False``. |