bpo-26701: Add documentation for __trunc__ by appeltel · Pull Request #6022 · python/cpython

@appeltel

@appeltel

@appeltel

ncoghlan

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Mar 10, 2018
`int` fails back to `__trunc__` is `__int__` isn't defined, so cover
that in the docs.
(cherry picked from commit 308eab9)

Co-authored-by: Eric Appelt <eric.appelt@gmail.com>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Mar 10, 2018
`int` fails back to `__trunc__` is `__int__` isn't defined, so cover
that in the docs.
(cherry picked from commit 308eab9)

Co-authored-by: Eric Appelt <eric.appelt@gmail.com>

jo2y pushed a commit to jo2y/cpython that referenced this pull request

Mar 23, 2018
`int` fails back to `__trunc__` is `__int__` isn't defined, so cover
that in the docs.