bpo-25735: math.factorial doc should mention integer return type (GH-6420)
This commit is contained in:
parent
8cbb5b6625
commit
4612671df2
|
@ -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.
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Added documentation for func factorial to indicate that returns integer values
|
Loading…
Reference in New Issue