summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-02-14 22:51:40 (GMT)
committerGuido van Rossum <guido@python.org>1997-02-14 22:51:40 (GMT)
commit1ca407f3e47a80c0c6f76d9c8e4be7c28d60d243 (patch)
treefb74e5da9cb831013d10771b426617bdac44b882
parent0f4bbd2f34dab045a8c3eed6413aea770f545d8c (diff)
downloadcpython-1ca407f3e47a80c0c6f76d9c8e4be7c28d60d243.zip
cpython-1ca407f3e47a80c0c6f76d9c8e4be7c28d60d243.tar.gz
cpython-1ca407f3e47a80c0c6f76d9c8e4be7c28d60d243.tar.bz2
Fix the comments for bitwise and/or.
-rw-r--r--Include/abstract.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Include/abstract.h b/Include/abstract.h
index 6f7116a..6fa0fd7 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.
*/