Revert "bpo-26680: Incorporate is_integer in all built-in and standard library numeric types (GH-6121)" (GH-22584)

This reverts commit 58a7da9e12.
This commit is contained in:
Raymond Hettinger 2020-10-07 16:43:44 -07:00 committed by GitHub
parent 4f3c25043d
commit 4e0ce82058
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 24 additions and 223 deletions

View file

@ -260,11 +260,6 @@ Return True if the argument is a (positive or negative) zero and False\n\
otherwise.\n\
\n");
PyDoc_STRVAR(doc_is_integer,
"is_integer($self, /)\n--\n\n\
Return True if the argument is finite and integral, otherwise False.\n\
\n");
PyDoc_STRVAR(doc_ln,
"ln($self, /, context=None)\n--\n\n\
Return the natural (base e) logarithm of the operand. The function always\n\
@ -690,11 +685,6 @@ PyDoc_STRVAR(doc_ctx_is_zero,
Return True if x is a zero, False otherwise.\n\
\n");
PyDoc_STRVAR(doc_ctx_is_integer,
"is_integer($self, x, /)\n--\n\n\
+Return True if x is finite and integral, False otherwise.\n\
+\n");
PyDoc_STRVAR(doc_ctx_ln,
"ln($self, x, /)\n--\n\n\
Return the natural (base e) logarithm of x.\n\
@ -889,3 +879,6 @@ Convert a number to a string using scientific notation.\n\
#endif /* DOCSTRINGS_H */