[ python-Bugs-936837 ] PyNumber_InPlaceDivide()'s description
SourceForge.net
noreply at sourceforge.net
Sat Jun 5 12:38:07 EDT 2004
Bugs item #936837, was opened at 2004-04-17 10:24
Message generated for change (Comment added) made by pmoore
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=936837&group_id=5470
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: [N/A] (ymasuda)
Assigned to: Nobody/Anonymous (nobody)
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: Paul Moore (pmoore)
Date: 2004-06-05 17: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