diff options
author | Yury Selivanov <yury@magic.io> | 2018-09-21 19:33:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-21 19:33:56 (GMT) |
commit | 2ec872b31e25cee1f983fe07991fb53f3fd1cbac (patch) | |
tree | ee3b5067dc9125be38d3a0ef0e5517a196f334aa /Modules/_contextvarsmodule.c | |
parent | b46ad5431d2643f61e929c1ffec48766b2fafd75 (diff) | |
download | cpython-2ec872b31e25cee1f983fe07991fb53f3fd1cbac.zip cpython-2ec872b31e25cee1f983fe07991fb53f3fd1cbac.tar.gz cpython-2ec872b31e25cee1f983fe07991fb53f3fd1cbac.tar.bz2 |
bpo-34762: Fix contextvars C API to use PyObject* pointer types. (GH-9473)
Diffstat (limited to 'Modules/_contextvarsmodule.c')
-rw-r--r-- | Modules/_contextvarsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_contextvarsmodule.c b/Modules/_contextvarsmodule.c index b7d112d..71dd7fd 100644 --- a/Modules/_contextvarsmodule.c +++ b/Modules/_contextvarsmodule.c @@ -16,7 +16,7 @@ static PyObject * _contextvars_copy_context_impl(PyObject *module) /*[clinic end generated code: output=1fcd5da7225c4fa9 input=89bb9ae485888440]*/ { - return (PyObject *)PyContext_CopyCurrent(); + return PyContext_CopyCurrent(); } |