We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb3fd0 commit b625374Copy full SHA for b625374
Doc/c-api/config.rst
@@ -216,9 +216,9 @@ return ``-1`` on error:
216
PyInitConfig_Free(config);
217
return 0;
218
219
- error:
220
// Display the error message
221
const char *err_msg;
+ error:
222
(void)PyInitConfig_GetError(config, &err_msg);
223
printf("PYTHON INIT ERROR: %s\n", err_msg);
224
Programs/_testembed.c
@@ -1850,8 +1850,8 @@ static int test_initconfig_api(void)
1850
Py_Finalize();
1851
1852
1853
-error:
1854
+error:
1855
1856
printf("Python init failed: %s\n", err_msg);
1857
exit(1);
0 commit comments