summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-31 09:58:27 -0700
committerGitHub <noreply@github.com>2019-05-31 09:58:27 -0700
commitfc3b8437c86167983cc75e5a9a3ed1dc542a1b79 (patch)
tree267b5f1a814e423a1cf171839251fc6452e0b18b /Doc
parent8135455c840b9e169a6cd527cb1ee922cafb9109 (diff)
downloadcpython-git-fc3b8437c86167983cc75e5a9a3ed1dc542a1b79.tar.gz
bpo-25735: math.factorial doc should mention integer return type (GH-6420)
(cherry picked from commit 4612671df2742eade8ecf8003a6ce1247973c135) Co-authored-by: Akshay Sharma <akshay.sharma09695@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/math.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index b06b054d51..fd96d7a958 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.