Skip to content

Commit 73396ae

Browse files
JelleZijlstra1st1
authored andcommitted
fix compilation warnings on older Python versions
1 parent d6c67e7 commit 73396ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

uvloop/includes/compat.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) {};
2929

3030
PyObject * Context_CopyCurrent(void) {
3131
PyErr_SetString(PyExc_NotImplementedError,
32-
'"contextvars" support requires Python 3.7+');
32+
"\"contextvars\" support requires Python 3.7+");
3333
return NULL;
3434
};
3535

3636
int Context_Enter(PyObject *ctx) {
3737
PyErr_SetString(PyExc_NotImplementedError,
38-
'"contextvars" support requires Python 3.7+');
38+
"\"contextvars\" support requires Python 3.7+");
3939
return -1;
4040
}
4141

4242
int Context_Exit(PyObject *ctx) {
4343
PyErr_SetString(PyExc_NotImplementedError,
44-
'"contextvars" support requires Python 3.7+');
44+
"\"contextvars\" support requires Python 3.7+");
4545
return -1;
4646
}
4747

0 commit comments

Comments
 (0)