Skip to content

Commit d9a111b

Browse files
JelleZijlstra1st1
authored andcommitted
fix compilation warnings on older Python versions
1 parent 1a5dbc2 commit d9a111b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

uvloop/includes/compat.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) {};
3434

3535
PyObject * Context_CopyCurrent(void) {
3636
PyErr_SetString(PyExc_NotImplementedError,
37-
'"contextvars" support requires Python 3.7+');
37+
"\"contextvars\" support requires Python 3.7+");
3838
return NULL;
3939
};
4040

4141
int Context_Enter(PyObject *ctx) {
4242
PyErr_SetString(PyExc_NotImplementedError,
43-
'"contextvars" support requires Python 3.7+');
43+
"\"contextvars\" support requires Python 3.7+");
4444
return -1;
4545
}
4646

4747
int Context_Exit(PyObject *ctx) {
4848
PyErr_SetString(PyExc_NotImplementedError,
49-
'"contextvars" support requires Python 3.7+');
49+
"\"contextvars\" support requires Python 3.7+");
5050
return -1;
5151
}
5252

0 commit comments

Comments
 (0)