diff options
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r-- | Modules/mathmodule.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 @@ error: 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) |