summaryrefslogtreecommitdiffstats
path: root/Modules/mathmodule.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-09-16 03:54:24 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-09-16 03:54:24 (GMT)
commit78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac (patch)
treebbc3e5a62e821b16cdfd0acc94a439b481cb90ed /Modules/mathmodule.c
parent53db8154e604959daa1edc08c6573a43f896e410 (diff)
downloadcpython-78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac.zip
cpython-78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac.tar.gz
cpython-78fc0b57dfd4bf8d3d3ab82e4ffe98cbd6075dac.tar.bz2
Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough.
FRED, please check my monkey-see-monkey-do Tex fiddling!
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r--Modules/mathmodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index fcd88ad..c313f35 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -106,7 +106,8 @@ FUNC1(fabs, fabs,
FUNC1(floor, floor,
"floor(x)\n\nReturn the floor of x as a real.")
FUNC2(fmod, fmod,
- "fmod(x,y)\n\nReturn x % y.")
+ "fmod(x,y)\n\nReturn fmod(x, y), according to platform C."
+ " x % y may differ.")
FUNC2(hypot, hypot,
"hypot(x,y)\n\nReturn the Euclidean distance, sqrt(x*x + y*y).")
FUNC1(log, log,