diff options
author | Akshay Sharma <akshay.sharma09695@gmail.com> | 2019-05-31 16:41:17 (GMT) |
---|---|---|
committer | Cheryl Sabella <cheryl.sabella@gmail.com> | 2019-05-31 16:41:17 (GMT) |
commit | 4612671df2742eade8ecf8003a6ce1247973c135 (patch) | |
tree | e57e3dec7ebf82e4e5d2943ed011dde5e7037810 /Doc/library/math.rst | |
parent | 8cbb5b6625268400d6e9092b75b06d6f90398dc9 (diff) | |
download | cpython-4612671df2742eade8ecf8003a6ce1247973c135.zip cpython-4612671df2742eade8ecf8003a6ce1247973c135.tar.gz cpython-4612671df2742eade8ecf8003a6ce1247973c135.tar.bz2 |
bpo-25735: math.factorial doc should mention integer return type (GH-6420)
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r-- | Doc/library/math.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index bf660ae..b51e96b 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -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. |