[issue4914] trunc(x) erroneously documented as built-in

Terry J. Reedy report at bugs.python.org
Sat Jan 17 08:44:58 CET 2009


Terry J. Reedy <tjreedy at udel.edu> added the comment:

Confirmed for 3.0 that trunc does not exist in the builtins module and
is not listed in the Built-in functions section but is listed in the
Numeric Types section.  So I agree "trunc(x) x truncated to Integral "
should leave the Operation table.

Yes, MM, we do want to clean up such discrepancies.

trunc is in the math module and is listed in its doc.

----------
nosy: +tjreedy

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


More information about the Python-bugs-list mailing list