beef up docstring

This commit is contained in:
Benjamin Peterson 2008-12-20 02:57:19 +00:00
parent 4f6ec9d9ff
commit fed67fd41e
1 changed files with 4 additions and 1 deletions

View File

@ -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)