gh-132174: Fix function name in error message of _interpreters.run_string (#132175)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Fix function name in error message of ``_interpreters.run_string``.
|
||||
@@ -1112,7 +1112,7 @@ interp_run_string(PyObject *self, PyObject *args, PyObject *kwds)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
script = (PyObject *)convert_script_arg(script, MODULE_NAME_STR ".exec",
|
||||
script = (PyObject *)convert_script_arg(script, MODULE_NAME_STR ".run_string",
|
||||
"argument 2", "a string");
|
||||
if (script == NULL) {
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user