Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Clarify an error message.
  • Loading branch information
ericsnowcurrently committed May 12, 2025
commit 9e429519607f53ca2923480720c0482a6e339570
2 changes: 1 addition & 1 deletion Python/crossinterp_data_lookup.h
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ _PyFunction_GetXIData(PyThreadState *tstate, PyObject *func,
if (_PyFunction_VerifyStateless(tstate, func) < 0) {
PyObject *cause = _PyErr_GetRaisedException(tstate);
assert(cause != NULL);
const char *msg = "non-stateless functions are not shareable";
const char *msg = "only stateless functions are shareable";
set_notshareableerror(tstate, cause, 0, msg);
Py_DECREF(cause);
return -1;
Expand Down