mirror of
https://github.com/python/cpython.git
synced 2025-08-23 10:16:01 +00:00
Fixes loop variables to be the same types as their limit (GH-120958)
This commit is contained in:
parent
2e157851e3
commit
e731554337
14 changed files with 26 additions and 26 deletions
|
@ -573,7 +573,7 @@ get_line_delta(const uint8_t *ptr)
|
|||
static PyObject *
|
||||
remove_column_info(PyObject *locations)
|
||||
{
|
||||
int offset = 0;
|
||||
Py_ssize_t offset = 0;
|
||||
const uint8_t *data = (const uint8_t *)PyBytes_AS_STRING(locations);
|
||||
PyObject *res = PyBytes_FromStringAndSize(NULL, 32);
|
||||
if (res == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue