diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 12:34:58 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-05-08 12:34:58 (GMT) |
commit | 18933ed6ab0de16962e8dbdef7003f9a9546513e (patch) | |
tree | 78656838b92a2afa25da79e53d2a35d67e9305f6 /Modules | |
parent | 1a269d09f65c69d9deecf943472335becd63ff06 (diff) | |
parent | 129fe04d4deec15f9ca0ee79776e0c4335fc12e7 (diff) | |
download | cpython-18933ed6ab0de16962e8dbdef7003f9a9546513e.zip cpython-18933ed6ab0de16962e8dbdef7003f9a9546513e.tar.gz cpython-18933ed6ab0de16962e8dbdef7003f9a9546513e.tar.bz2 |
Issue #26512: Merge rounding doc from 3.5
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/mathmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 50f860b..cf04901 100644 --- a/Modules/mathmodule.c +++ b/Modules/mathmodule.c @@ -957,8 +957,8 @@ static PyObject * math_ceil(PyObject *self, PyObject *number) { } PyDoc_STRVAR(math_ceil_doc, - "ceil(x)\n\nReturn the ceiling of x as an int.\n" - "This is the smallest integral value >= x."); + "ceil(x)\n\nReturn the ceiling of x as an Integral.\n" + "This is the smallest integer >= x."); FUNC2(copysign, copysign, "copysign(x, y)\n\nReturn a float with the magnitude (absolute value) " @@ -997,8 +997,8 @@ static PyObject * math_floor(PyObject *self, PyObject *number) { } PyDoc_STRVAR(math_floor_doc, - "floor(x)\n\nReturn the floor of x as an int.\n" - "This is the largest integral value <= x."); + "floor(x)\n\nReturn the floor of x as an Integral.\n" + "This is the largest integer <= x."); FUNC1A(gamma, m_tgamma, "gamma(x)\n\nGamma function at x.") |