From: Guido van Rossum Date: Fri, 14 Feb 1997 22:51:40 +0000 (+0000) Subject: Fix the comments for bitwise and/or. X-Git-Tag: v1.5a1~360 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ca407f3e47a80c0c6f76d9c8e4be7c28d60d243;p=python Fix the comments for bitwise and/or. --- diff --git a/Include/abstract.h b/Include/abstract.h index 6f7116a3ac..6fa0fd7ca6 100644 --- a/Include/abstract.h +++ b/Include/abstract.h @@ -559,9 +559,9 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ PyObject *PyNumber_And Py_PROTO((PyObject *o1, PyObject *o2)); /* - Returns the result of "anding" o2 and o2 on success and NULL - on failure. This is the equivalent of the Python - expression: o1 and o2. + Returns the result of bitwise and of o1 and o2 on success, or + NULL on failure. This is the equivalent of the Python + expression: o1&o2. */ @@ -579,9 +579,9 @@ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/ PyObject *PyNumber_Or Py_PROTO((PyObject *o1, PyObject *o2)); /* - Returns the result or o1 and o2 on success, or NULL on - failure. This is the equivalent of the Python expression: - o1 or o2. + Returns the result of bitwise or or o1 and o2 on success, or + NULL on failure. This is the equivalent of the Python + expression: o1|o2. */