commit | fed67fd41e63cb3dcb2b5716a4e2c08613962c21 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Dec 20 02:57:19 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Dec 20 02:57:19 2008 +0000 |
tree | 4bf2e4ab210a91c99915b926b3b3d36602f9b52e | |
parent | 4f6ec9d9ff8b74ba1267bb44f4ffa8a013f0ab16 [diff] [blame] |
beef up docstring
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 5087ecc..01d3991 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c
@@ -630,7 +630,10 @@ return NULL; } -PyDoc_STRVAR(math_factorial_doc, "Return n!"); +PyDoc_STRVAR(math_factorial_doc, +"factorial(x) -> Integral\n" +"\n" +"Find x!. Raise a ValueError if x is negative or non-integral."); static PyObject * math_trunc(PyObject *self, PyObject *number)