2018-01-23 01:11:18 +01:00
|
|
|
/*[clinic input]
|
|
|
|
preserve
|
|
|
|
[clinic start generated code]*/
|
|
|
|
|
|
|
|
PyDoc_STRVAR(_contextvars_copy_context__doc__,
|
|
|
|
"copy_context($module, /)\n"
|
|
|
|
"--\n"
|
|
|
|
"\n");
|
|
|
|
|
|
|
|
#define _CONTEXTVARS_COPY_CONTEXT_METHODDEF \
|
|
|
|
{"copy_context", (PyCFunction)_contextvars_copy_context, METH_NOARGS, _contextvars_copy_context__doc__},
|
|
|
|
|
|
|
|
static PyObject *
|
|
|
|
_contextvars_copy_context_impl(PyObject *module);
|
|
|
|
|
|
|
|
static PyObject *
|
|
|
|
_contextvars_copy_context(PyObject *module, PyObject *Py_UNUSED(ignored))
|
|
|
|
{
|
|
|
|
return _contextvars_copy_context_impl(module);
|
|
|
|
}
|
2023-08-31 23:42:34 +02:00
|
|
|
/*[clinic end generated code: output=26e07024451baf52 input=a9049054013a1b77]*/
|