This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PyNumber_InPlaceDivide()'s description
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, paul.moore, ymasuda
Priority: normal Keywords:

Created on 2004-04-17 09:24 by ymasuda, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg20522 - (view) Author: [N/A] (ymasuda) Date: 2004-04-17 09:24
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.
msg20523 - (view) Author: Paul Moore (paul.moore) * (Python committer) Date: 2004-06-05 16:38
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}}.
msg20524 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2004-06-05 19:01
Logged In: YES 
user_id=11375

Fixed; thanks!
History
Date User Action Args
2022-04-11 14:56:03adminsetgithub: 40162
2004-04-17 09:24:05ymasudacreate