[ python-Bugs-936837 ] PyNumber_InPlaceDivide()'s description

SourceForge.net noreply at sourceforge.net
Sat Jun 5 15:01:41 EDT 2004


Bugs item #936837, was opened at 2004-04-17 05:24
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=936837&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: [N/A] (ymasuda)
>Assigned to: A.M. Kuchling (akuchling)
Summary: PyNumber_InPlaceDivide()'s description

Initial Comment:
In Doc/api/abstract.tex on HEAD, line 576 around,
It describes::

  Returns the mathematical of dividing \var{o1} by \var
{o2}, or

but, it appears to be something erratta. Instead,::

  Returns the floor of dividing \var{o1} by \var{o2}, or

would be appropreate.

----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2004-06-05 15:01

Message:
Logged In: YES 
user_id=11375

Fixed; thanks!

----------------------------------------------------------------------

Comment By: Paul Moore (pmoore)
Date: 2004-06-05 12:38

Message:
Logged In: YES 
user_id=113328

The following patch seems OK:

Index: api/abstract.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/abstract.tex,v
retrieving revision 1.32
diff -u -r1.32 abstract.tex
--- api/abstract.tex	17 Apr 2004 11:57:40 -0000	1.32
+++ api/abstract.tex	5 Jun 2004 16:34:56 -0000
@@ -573,7 +573,8 @@
 
 \begin{cfuncdesc}{PyObject*}{PyNumber_InPlaceFloorDivide}{PyObject
*o1,
                                                          
PyObject *o2}
-  Returns the mathematical of dividing \var{o1} by \var{o2}, or
+  Returns the mathematical floor of the result of
+  dividing \var{o1} by \var{o2}, or
   \NULL{} on failure.  The operation is done
\emph{in-place} when
   \var{o1} supports it.  This is the equivalent of the Python
   statement \samp{\var{o1} //= \var{o2}}.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=936837&group_id=5470



More information about the Python-bugs-list mailing list