[New-bugs-announce] [issue44519] help(math.fabs)

David Lambert report at bugs.python.org
Sun Jun 27 10:28:32 EDT 2021


New submission from David Lambert <b49p23tivg at gmail.com>:

math.fabs returns float.
The documentation should say so, and help(math.fabs) should include the expected return type  -> float

fabs(x, /) -> float
    Return the absolute value of the float x.

I did not check, but expect these annotations recommendations are pervasive throughout the python libraries.

----------
assignee: docs at python
components: Documentation
messages: 396582
nosy: David Lambert, docs at python
priority: normal
severity: normal
status: open
title: help(math.fabs)
type: enhancement
versions: Python 3.9

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


More information about the New-bugs-announce mailing list