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) ...@@ -172,15 +172,11 @@ __Pyx_CyFunction_set_dict(__pyx_CyFunctionObject *op, PyObject *value)
return 0; 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
TODO: we implicitly use the global module to get func_globals. This // this type across modules. We currently avoid doing this to reduce
will need to be passed into __Pyx_CyFunction_NewEx() if we share // the overhead of creating a function object, and to avoid keeping a
this type across modules. We currently avoid doing this to reduce // reference to the module dict as long as we don't need to.
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 * static PyObject *
__Pyx_CyFunction_get_globals(CYTHON_UNUSED __pyx_CyFunctionObject *op) __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