[docs] [issue26701] Documentation for int constructor mentions __int__ but not __trunc__

Serhiy Storchaka report at bugs.python.org
Thu Mar 8 15:06:11 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

What about __floor__ and __ceil__?

I think all these three method do not deserve separate paragraphs in Doc/reference/datamodel.rst, but they should be grouped together with __round__.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26701>
_______________________________________


More information about the docs mailing list