mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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:
parent
4f3c25043d
commit
4e0ce82058
16 changed files with 24 additions and 223 deletions
|
|
@ -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 */
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue