8000 gh-100268: Add is_integer method to int by hauntsaninja · Pull Request #100439 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-100268: Add is_integer method to int #100439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 24, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs
  • Loading branch information
hauntsaninja committed Dec 22, 2022
commit 0d2dfa9225c7b773703c7008afffb05894e13a35
6 changes: 6 additions & 0 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,12 @@ class`. In addition, it provides a few more methods:

.. versionadded:: 3.8

.. method:: int.is_integer()

Returns ``True``.

.. versionadded:: 3.12

Additional Methods on Float
---------------------------

Expand Down
0