summaryrefslogtreecommitdiffstats
path: root/Python/future.c
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2024-06-24 16:11:47 (GMT)
committerGitHub <noreply@github.com>2024-06-24 16:11:47 (GMT)
commite7315543377322e4c6e0d8d2c4a4bb4626e43f4c (patch)
tree956e3eb3c667a53aa60954e36916d165f2333bab /Python/future.c
parent2e157851e36d83b0cb079b161d633b16ab899d16 (diff)
downloadcpython-e7315543377322e4c6e0d8d2c4a4bb4626e43f4c.zip
cpython-e7315543377322e4c6e0d8d2c4a4bb4626e43f4c.tar.gz
cpython-e7315543377322e4c6e0d8d2c4a4bb4626e43f4c.tar.bz2
Fixes loop variables to be the same types as their limit (GH-120958)
Diffstat (limited to 'Python/future.c')
-rw-r--r--Python/future.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/future.c b/Python/future.c
index 8d94d51..8aeb541 100644
--- a/Python/future.c
+++ b/Python/future.c
@@ -8,7 +8,7 @@
static int
future_check_features(_PyFutureFeatures *ff, stmt_ty s, PyObject *filename)
{
- int i;
+ Py_ssize_t i;
assert(s->kind == ImportFrom_kind);