mirror of https://github.com/python/cpython.git
Fix the comments for bitwise and/or.
This commit is contained in:
parent
0f4bbd2f34
commit
1ca407f3e4
|
@ -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.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue