diff -r be6bbc9f0561 Include/genobject.h --- a/Include/genobject.h Sun Apr 28 11:58:31 2013 -0400 +++ b/Include/genobject.h Tue Apr 30 17:20:45 2013 +0100 @@ -33,8 +33,8 @@ #define PyGen_CheckExact(op) (Py_TYPE(op) == &PyGen_Type) PyAPI_FUNC(PyObject *) PyGen_New(struct _frame *); -PyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *); -PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **); +int _PyGen_NeedsFinalizing(PyGenObject *); +int _PyGen_FetchStopIterationValue(PyObject **); PyObject *_PyGen_Send(PyGenObject *, PyObject *); #ifdef __cplusplus diff -r be6bbc9f0561 Modules/gcmodule.c --- a/Modules/gcmodule.c Sun Apr 28 11:58:31 2013 -0400 +++ b/Modules/gcmodule.c Tue Apr 30 17:20:45 2013 +0100 @@ -525,7 +525,7 @@ has_finalizer(PyObject *op) { if (PyGen_CheckExact(op)) - return PyGen_NeedsFinalizing((PyGenObject *)op); + return _PyGen_NeedsFinalizing((PyGenObject *)op); else return op->ob_type->tp_del != NULL; } diff -r be6bbc9f0561 Objects/genobject.c --- a/Objects/genobject.c Sun Apr 28 11:58:31 2013 -0400 +++ b/Objects/genobject.c Tue Apr 30 17:20:45 2013 +0100 @@ -565,7 +565,7 @@ } int -PyGen_NeedsFinalizing(PyGenObject *gen) +_PyGen_NeedsFinalizing(PyGenObject *gen) { int i; PyFrameObject *f = gen->gi_frame;