코루틴 객체¶
버전 3.5에 추가.
코루틴 객체는 async 키워드로 선언된 함수가 반환하는 것입니다.
-
PyCoroObject¶ 코루틴 객체에 사용되는 C 구조체.
-
PyTypeObject
PyCoro_Type¶ 코루틴 객체에 해당하는 형 객체.
-
int
PyCoro_CheckExact(PyObject *ob)¶ Return true if ob’s type is
PyCoro_Type; ob must not beNULL.
-
PyObject*
PyCoro_New(PyFrameObject *frame, PyObject *name, PyObject *qualname)¶ - Return value: New reference.
Create and return a new coroutine 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 beNULL.
