mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Use Py_ssize_t to count the
This commit is contained in:
parent
f5adf1eb72
commit
d96ee90993
7 changed files with 24 additions and 22 deletions
|
@ -83,7 +83,7 @@ PyErr_GivenExceptionMatches(PyObject *err, PyObject *exc)
|
|||
return 0;
|
||||
}
|
||||
if (PyTuple_Check(exc)) {
|
||||
int i, n;
|
||||
Py_ssize_t i, n;
|
||||
n = PyTuple_Size(exc);
|
||||
for (i = 0; i < n; i++) {
|
||||
/* Test recursively */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue