[docs] [issue26512] Vocabulary: Using "integral" in library/stdtypes.html

Georg Brandl report at bugs.python.org
Wed Mar 9 10:29:17 EST 2016


Georg Brandl added the comment:

There's two different uses here:

The one use in "truncated to Integral" means that you get an integer type out.  It is not specified to be `int` because `__trunc__` may return other types.  It could be made into a link like the other use of Integral.

The other uses are "integral float", which is *not* the same as an integer.  It is a float whose value is a whole number, and AFAIK "integral" is the correct adjective for that.

----------
nosy: +georg.brandl

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26512>
_______________________________________


More information about the docs mailing list