Commit 9a4a3dbd authored by Stefan Behnel's avatar Stefan Behnel

fix comment in CythonFunction.c

parent bfc53499
......@@ -172,15 +172,11 @@ __Pyx_CyFunction_set_dict(__pyx_CyFunctionObject *op, PyObject *value)
return 0;
}
{{# """
/*
TODO: we implicitly use the global module to get func_globals. This
will need to be passed into __Pyx_CyFunction_NewEx() if we share
this type across modules. We currently avoid doing this to reduce
the overhead of creating a function object, and to avoid keeping a
reference to the module dict as long as we don't need to.
*/
""" }}
// TODO: we implicitly use the global module to get func_globals. This
// will need to be passed into __Pyx_CyFunction_NewEx() if we share
// this type across modules. We currently avoid doing this to reduce
// the overhead of creating a function object, and to avoid keeping a
// reference to the module dict as long as we don't need to.
static PyObject *
__Pyx_CyFunction_get_globals(CYTHON_UNUSED __pyx_CyFunctionObject *op)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment