[Python-checkins] CVS: python/dist/src/Modules mathmodule.c,2.55,2.56

Tim Peters python-dev@python.org
Fri, 15 Sep 2000 20:54:27 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv28799/python/dist/src/Modules

Modified Files:
	mathmodule.c 
Log Message:
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!


Index: mathmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mathmodule.c,v
retrieving revision 2.55
retrieving revision 2.56
diff -C2 -r2.55 -r2.56
*** mathmodule.c	2000/09/01 23:29:26	2.55
--- mathmodule.c	2000/09/16 03:54:24	2.56
***************
*** 107,111 ****
        "floor(x)\n\nReturn the floor of x as a real.")
       FUNC2(fmod, fmod,
!       "fmod(x,y)\n\nReturn x % y.")
  FUNC2(hypot, hypot,
        "hypot(x,y)\n\nReturn the Euclidean distance, sqrt(x*x + y*y).")
--- 107,112 ----
        "floor(x)\n\nReturn the floor of x as a real.")
       FUNC2(fmod, fmod,
!       "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).")