FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

merge 3.4 · python/cpython@89aea50 · GitHub

Repository navigation

Commit 89aea50

Browse files
committed
merge 3.4
2 parents 234fb2d + 23a192d commit 89aea50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/_operator.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ compare_digest(PyObject *self, PyObject *args)
279279
Py_buffer view_a;
280280
Py_buffer view_b;
281281

282-
if ((PyObject_CheckBuffer(a) == 0) & (PyObject_CheckBuffer(b) == 0)) {
282+
if (PyObject_CheckBuffer(a) == 0 && PyObject_CheckBuffer(b) == 0) {
283283
PyErr_Format(PyExc_TypeError,
284284
"unsupported operand types(s) or combination of types: "
285285
"'%.100s' and '%.100s'",

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL