Fix the comments for bitwise and/or.

This commit is contained in:
Guido van Rossum 1997-02-14 22:51:40 +00:00
parent 0f4bbd2f34
commit 1ca407f3e4
1 changed files with 6 additions and 6 deletions

View File

@ -559,9 +559,9 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
PyObject *PyNumber_And Py_PROTO((PyObject *o1, PyObject *o2)); PyObject *PyNumber_And Py_PROTO((PyObject *o1, PyObject *o2));
/* /*
Returns the result of "anding" o2 and o2 on success and NULL Returns the result of bitwise and of o1 and o2 on success, or
on failure. This is the equivalent of the Python NULL on failure. This is the equivalent of the Python
expression: o1 and o2. expression: o1&o2.
*/ */
@ -579,9 +579,9 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
PyObject *PyNumber_Or Py_PROTO((PyObject *o1, PyObject *o2)); PyObject *PyNumber_Or Py_PROTO((PyObject *o1, PyObject *o2));
/* /*
Returns the result or o1 and o2 on success, or NULL on Returns the result of bitwise or or o1 and o2 on success, or
failure. This is the equivalent of the Python expression: NULL on failure. This is the equivalent of the Python
o1 or o2. expression: o1|o2.
*/ */