mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
Use Py_ssize_t instead of ssize_t (GH-19685)
This commit is contained in:
parent
50f28dea32
commit
9f27dd3e16
1 changed files with 1 additions and 1 deletions
|
@ -1161,7 +1161,7 @@ _PyPegen_join_names_with_dot(Parser *p, expr_ty first_name, expr_ty second_name)
|
|||
if (!second_str) {
|
||||
return NULL;
|
||||
}
|
||||
ssize_t len = strlen(first_str) + strlen(second_str) + 1; // +1 for the dot
|
||||
Py_ssize_t len = strlen(first_str) + strlen(second_str) + 1; // +1 for the dot
|
||||
|
||||
PyObject *str = PyBytes_FromStringAndSize(NULL, len);
|
||||
if (!str) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue