gh-67224: Show source lines in tracebacks when using the -c option when running Python (#111200)
This commit is contained in:
committed by
GitHub
parent
3f84a19e62
commit
90a1b2859f
@@ -114,6 +114,9 @@ extern int _Py_LegacyLocaleDetected(int warn);
|
||||
// Export for 'readline' shared extension
|
||||
PyAPI_FUNC(char*) _Py_SetLocaleFromEnv(int category);
|
||||
|
||||
// Export for special main.c string compiling with source tracebacks
|
||||
int _PyRun_SimpleStringFlagsWithName(const char *command, const char* name, PyCompilerFlags *flags);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user