mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
bpo-34762: Fix contextvars C API to use PyObject* pointer types. (GH-9473)
This commit is contained in:
parent
b46ad5431d
commit
2ec872b31e
6 changed files with 106 additions and 45 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue