mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
merge 3.4
This commit is contained in:
commit
89aea5075e
1 changed files with 1 additions and 1 deletions
|
|
@ -279,7 +279,7 @@ compare_digest(PyObject *self, PyObject *args)
|
||||||
Py_buffer view_a;
|
Py_buffer view_a;
|
||||||
Py_buffer view_b;
|
Py_buffer view_b;
|
||||||
|
|
||||||
if ((PyObject_CheckBuffer(a) == 0) & (PyObject_CheckBuffer(b) == 0)) {
|
if (PyObject_CheckBuffer(a) == 0 && PyObject_CheckBuffer(b) == 0) {
|
||||||
PyErr_Format(PyExc_TypeError,
|
PyErr_Format(PyExc_TypeError,
|
||||||
"unsupported operand types(s) or combination of types: "
|
"unsupported operand types(s) or combination of types: "
|
||||||
"'%.100s' and '%.100s'",
|
"'%.100s' and '%.100s'",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue