Skip to content

Commit 5cc7b11

Browse files
picnixzaisk
andauthored
use correct format specified %d -> %zd
Co-authored-by: AN Long <aisk@users.noreply.github.com>
1 parent 37d5b5c commit 5cc7b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/codegen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6422,7 +6422,7 @@ diff:;
64226422
_PyCompile_Error(
64236423
c, LOC(p),
64246424
"alternative patterns bind different names "
6425-
"(first pattern binds %S, pattern %d binds %S)",
6425+
"(first pattern binds %S, pattern %zd binds %S)",
64266426
PyList_GET_SIZE(control) == 0 ? no_names : control,
64276427
mismatch_index + 1,
64286428
mismatched_names == NULL ? no_names : mismatched_names

0 commit comments

Comments
 (0)