beef up docstring
This commit is contained in:
parent
4f6ec9d9ff
commit
fed67fd41e
|
@ -630,7 +630,10 @@ error:
|
||||||
return NULL;
|
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 *
|
static PyObject *
|
||||||
math_trunc(PyObject *self, PyObject *number)
|
math_trunc(PyObject *self, PyObject *number)
|
||||||
|
|
Loading…
Reference in New Issue