Commit 4612671d authored by Akshay Sharma's avatar Akshay Sharma Committed by Cheryl Sabella

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

parent 8cbb5b66
...@@ -50,7 +50,7 @@ Number-theoretic and representation functions ...@@ -50,7 +50,7 @@ Number-theoretic and representation functions
.. function:: factorial(x) .. 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. is negative.
......
Added documentation for func factorial to indicate that returns integer values
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment