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

(cherry picked from commit 4612671df2)

Co-authored-by: Akshay Sharma <akshay.sharma09695@gmail.com>
This commit is contained in:
Miss Islington (bot) 2019-05-31 09:58:27 -07:00 committed by GitHub
parent 8135455c84
commit fc3b8437c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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