[issue44519] help(math.fabs)

2021-06-27 Thread David Lambert
David Lambert added the comment: Hi Ray, I'm glad this was a conscious choice.  I found a person confused by the output of print(abs(3), math.fabs(3)) Perhaps the manual would mention return values->that's not an annotation. Thanks for considering, Dave On 6/27/21 12:42 PM, Raymond Hetting

[issue44519] help(math.fabs)

2021-06-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the suggestion but we've not adopted type annotations in the documentation. -- nosy: +rhettinger resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue44519] help(math.fabs)

2021-06-27 Thread David Lambert
New submission from David Lambert : 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 a