Patch #957398: Add public API for Generator Object/Type.

This commit is contained in:
Martin v. Löwis 2004-06-01 15:22:42 +00:00
parent 09e2cb0ba7
commit e440e47e91
7 changed files with 207 additions and 138 deletions

View file

@ -64,6 +64,7 @@ PyAPI_FUNC(char *) PyEval_GetFuncName(PyObject *);
PyAPI_FUNC(char *) PyEval_GetFuncDesc(PyObject *);
PyAPI_FUNC(PyObject *) PyEval_GetCallStats(PyObject *);
PyAPI_FUNC(PyObject *) PyEval_EvaluateFrame(PyObject *);
/* this used to be handled on a per-thread basis - now just two globals */
PyAPI_DATA(volatile int) _Py_Ticker;