]> granicus.if.org Git - python/commitdiff
Fix the comments for bitwise and/or.
authorGuido van Rossum <guido@python.org>
Fri, 14 Feb 1997 22:51:40 +0000 (22:51 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 14 Feb 1997 22:51:40 +0000 (22:51 +0000)
Include/abstract.h

index 6f7116a3accd7a23435e567a330666c008295254..6fa0fd7ca6ffd239f453e5478abfdefe8183395d 100644 (file)
@@ -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.
 
        */