diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-05-17 14:08:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-17 14:08:21 -0700 |
commit | 740a7cde9c0af5a237a7f6525b38d65a83f4fbf1 (patch) | |
tree | be602778e67cf72d574d401d4a30aa6541ef8f37 /Modules | |
parent | 5386aaf07835889e90fb33e95b6d37197f8cfea0 (diff) | |
download | cpython-git-740a7cde9c0af5a237a7f6525b38d65a83f4fbf1.tar.gz |
bpo-36908: 'This module is always available' isn't helpful. (GH-13297)
Makes the documentation of math and cmath module
more helpful for the beginners.
(cherry picked from commit 6faad355db6c2bd4a0ade7868f245b42c04f5337)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/cmathmodule.c | 4 | ||||
-rw-r--r-- | Modules/mathmodule.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Modules/cmathmodule.c b/Modules/cmathmodule.c index 8319767b8a..b421f04fa6 100644 --- a/Modules/cmathmodule.c +++ b/Modules/cmathmodule.c @@ -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 diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 9eaeff1159..8eedca8a30 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -2371,8 +2371,8 @@ static PyMethodDef math_methods[] = { PyDoc_STRVAR(module_doc, -"This module is always available. It provides access to the\n" -"mathematical functions defined by the C standard."); +"This module provides access to the mathematical functions\n" +"defined by the C standard."); static struct PyModuleDef mathmodule = { |