Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 996e6dc

Browse files
Corrected format string in api_version_warning.
1 parent b89f32e commit 996e6dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/modsupport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ typedef double va_double;
4444

4545
static char api_version_warning[] =
4646
"WARNING: Python C API version mismatch for module %s:\n\
47-
This Python has API version %d, module %s has version %s.\n";
47+
This Python has API version %d, module %s has version %d.\n";
4848

4949
object *
5050
initmodule4(name, methods, doc, passthrough, module_api_version)

0 commit comments

Comments
 (0)