Commit 1ca407f3 authored by Guido van Rossum's avatar Guido van Rossum

Fix the comments for bitwise and/or.

parent 0f4bbd2f
...@@ -559,9 +559,9 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ ...@@ -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*/ ...@@ -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.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment