[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>

More information about the docs mailing list