mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
closes bpo-39630: Update pointers to string literals to be const char *. (GH-18510)
This commit is contained in:
parent
a9edf44a2d
commit
7386a70746
4 changed files with 5 additions and 5 deletions
|
@ -12,10 +12,10 @@ static PyObject *gen_close(PyGenObject *, PyObject *);
|
|||
static PyObject *async_gen_asend_new(PyAsyncGenObject *, PyObject *);
|
||||
static PyObject *async_gen_athrow_new(PyAsyncGenObject *, PyObject *);
|
||||
|
||||
static char *NON_INIT_CORO_MSG = "can't send non-None value to a "
|
||||
static const char *NON_INIT_CORO_MSG = "can't send non-None value to a "
|
||||
"just-started coroutine";
|
||||
|
||||
static char *ASYNC_GEN_IGNORED_EXIT_MSG =
|
||||
static const char *ASYNC_GEN_IGNORED_EXIT_MSG =
|
||||
"async generator ignored GeneratorExit";
|
||||
|
||||
static inline int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue