diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-05-17 09:59:14 (GMT) |
---|---|---|
committer | Kushal Das <mail@kushaldas.in> | 2019-05-17 09:59:13 (GMT) |
commit | 6faad355db6c2bd4a0ade7868f245b42c04f5337 (patch) | |
tree | 1de46713251d89736e43d960ed21f3fbf9a24e59 /Modules | |
parent | cbb6484573ae2058e55614b28d73b0c8478f9a70 (diff) | |
download | cpython-6faad355db6c2bd4a0ade7868f245b42c04f5337.zip cpython-6faad355db6c2bd4a0ade7868f245b42c04f5337.tar.gz cpython-6faad355db6c2bd4a0ade7868f245b42c04f5337.tar.bz2 |
bpo-36908: 'This module is always available' isn't helpful. (#13297)
Makes the documentation of math and cmath module
more helpful for the beginners.
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 8319767..b421f04 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 ba84232..8f6a303 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -2759,8 +2759,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 = { |