[Python-bugs-list] [ python-Bugs-440911 ] typo in xor docs

noreply@sourceforge.net noreply@sourceforge.net
Fri, 13 Jul 2001 20:08:16 -0700


Bugs item #440911, was opened at 2001-07-12 20:31
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=440911&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: typo in xor docs

Initial Comment:
In the following text (from 
http://www.python.org/doc/current/api/number.html):

PyObject* PyNumber_InPlaceXor(PyObject *o1, PyObject 
*o2) 
Return value: New reference. 
Returns the ``bitwise exclusive or'' of o1 by o2 on 
success, or NULL on failure. The operation is done in-
place when o1 supports it. This is the equivalent of 
the Python expression "o1 = o2". 

I think the Python expression should be "o1 ^= o2"

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-13 20:08

Message:
Logged In: YES 
user_id=3066

This was a markup error; LaTeX swallow the caret character.
 ;-(  Fixed in Doc/api/api.tex revisions 1.132 and 1.117.2.10.

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

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