Descriptor（描述器）物件
************************

"Descriptor" 是描述物件某些屬性的物件，它們存在於型別物件的 dictionary
（字典）中。

PyTypeObject PyProperty_Type
    * Part of the Stable ABI.*

   內建 descriptor 型別的型別物件。

PyObject *PyDescr_NewGetSet(PyTypeObject *type, struct PyGetSetDef *getset)
    *返回值：新的引用。** Part of the Stable ABI.*

PyObject *PyDescr_NewMember(PyTypeObject *type, struct PyMemberDef *meth)
    *返回值：新的引用。** Part of the Stable ABI.*

PyObject *PyDescr_NewMethod(PyTypeObject *type, struct PyMethodDef *meth)
    *返回值：新的引用。** Part of the Stable ABI.*

PyObject *PyDescr_NewWrapper(PyTypeObject *type, struct wrapperbase *wrapper, void *wrapped)
    *返回值：新的引用。*

PyObject *PyDescr_NewClassMethod(PyTypeObject *type, PyMethodDef *method)
    *返回值：新的引用。** Part of the Stable ABI.*

int PyDescr_IsData(PyObject *descr)

   如果 descriptor 物件 *descr* 描述的是一個資料屬性則回傳非零值，或者
   如果它描述的是一個方法則返回 "0"。*descr* 必須為一個 descriptor 物
   件；沒有錯誤檢查。

PyObject *PyWrapper_New(PyObject*, PyObject*)
    *返回值：新的引用。** Part of the Stable ABI.*
