bpo-25735: math.factorial doc should mention integer return type (GH-6420)

This commit is contained in:
Akshay Sharma 2019-05-31 22:11:17 +05:30 committed by Cheryl Sabella
parent 8cbb5b6625
commit 4612671df2
2 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@ Number-theoretic and representation functions
.. function:: factorial(x)
Return *x* factorial. Raises :exc:`ValueError` if *x* is not integral or
Return *x* factorial as an integer. Raises :exc:`ValueError` if *x* is not integral or
is negative.

View File

@ -0,0 +1 @@
Added documentation for func factorial to indicate that returns integer values