bpo-36908: 'This module is always available' isn't helpful. (#13297)

Makes the documentation of math and cmath module
more helpful for the beginners.
This commit is contained in:
Ned Batchelder 2019-05-17 05:59:14 -04:00 committed by Kushal Das
parent cbb6484573
commit 6faad355db
4 changed files with 12 additions and 13 deletions

View file

@ -1232,8 +1232,8 @@ cmath_isclose_impl(PyObject *module, Py_complex a, Py_complex b,
}
PyDoc_STRVAR(module_doc,
"This module is always available. It provides access to mathematical\n"
"functions for complex numbers.");
"This module provides access to mathematical functions for complex\n"
"numbers.");
static PyMethodDef cmath_methods[] = {
CMATH_ACOS_METHODDEF