From 1ca407f3e47a80c0c6f76d9c8e4be7c28d60d243 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 14 Feb 1997 22:51:40 +0000 Subject: [PATCH] Fix the comments for bitwise and/or. --- Include/abstract.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Include/abstract.h b/Include/abstract.h index 6f7116a3acc..6fa0fd7ca6f 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. */