제너레이터 객체
***************

제너레이터 객체는 파이썬이 제너레이터 이터레이터를 구현하기 위해 사용
하는 객체입니다. 일반적으로 "PyGen_New()" 또는
"PyGen_NewWithQualName()"를 명시적으로 호출하는 것이 아니라, 값을 일드
(yield)하는 함수를 이터레이트하여 만들어집니다.

PyGenObject

   제너레이터 객체에 사용되는 C 구조체.

PyTypeObject PyGen_Type

   제너레이터 객체에 해당하는 형 객체

int PyGen_Check(PyObject *ob)

   Return true if *ob* is a generator object; *ob* must not be "NULL".

int PyGen_CheckExact(PyObject *ob)

   Return true if *ob*'s type is "PyGen_Type"; *ob* must not be
   "NULL".

PyObject* PyGen_New(PyFrameObject *frame)
    *Return value: New reference.*

   Create and return a new generator object based on the *frame*
   object. A reference to *frame* is stolen by this function. The
   argument must not be "NULL".

PyObject* PyGen_NewWithQualName(PyFrameObject *frame, PyObject *name, PyObject *qualname)
    *Return value: New reference.*

   Create and return a new generator object based on the *frame*
   object, with "__name__" and "__qualname__" set to *name* and
   *qualname*. A reference to *frame* is stolen by this function.  The
   *frame* argument must not be "NULL".
