Register   Login   About   Study   Enterprise   Share
Internet / AI Technology University (ITU/AITU)
Fast Login - available after registration







|

Top Links: >> 80. Technology >> Internet Technology Summit Program >> 9. AI with Python >> 9.1. The Python Tutorial Introduction >> 9.1.1. Python Docs, Lexicon, and Components >> 9.1.1.3. Python Internals
Current Topic: 9.1.1.3.59. Descriptor Objects
You have a privilege to create a quiz (QnA) related to this subject and obtain creativity score...

?Descriptors? are objects that describe some attribute of an object. They are found in the dictionary of type objects.




PyTypeObject
PyProperty_Type



The type object for the built-in descriptor types.






PyObject*
PyDescr_NewGetSet
(
PyTypeObject
 *type, struct
PyGetSetDef
 *getset
)



Return value: New reference.




PyObject*
PyDescr_NewMember
(
PyTypeObject
 *type, struct
PyMemberDef
 *meth
)



Return value: New reference.




PyObject*
PyDescr_NewMethod
(
PyTypeObject
 *type, struct
PyMethodDef
 *meth
)



Return value: New reference.




PyObject*
Was it clear so far?

PyDescr_NewWrapper
(
PyTypeObject
 *type, struct wrapperbase
 *wrapper, void
 *wrapped
)



Return value: New reference.




PyObject*
PyDescr_NewClassMethod
(
PyTypeObject
 *type,
PyMethodDef
 *method
)



Return value: New reference.




int
PyDescr_IsData
(
PyObject
 *descr
)



Return true if the descriptor objects descr describes a data attribute, or false if it describes a method. descr must be a descriptor object; there is no error checking.






PyObject*
PyWrapper_New
(
PyObject
 *,
PyObject
 *
)



Return value: New reference.






| Check Your Progress | Propose QnA | Have a question or comments for open discussion?

Have a suggestion? - shoot an email
Looking for something special? - Talk to me
Read: IT of the future: AI and Semantic Cloud Architecture | Fixing Education
Do you want to move from theory to practice and become a magician? Learn and work with us at Internet Technology University (ITU) - JavaSchool.com.

Technology that we offer and How this works: English | Spanish | Russian | French

Internet Technology University | JavaSchool.com | Copyrights © Since 1997 | All Rights Reserved
Patents: US10956676, US7032006, US7774751, US7966093, US8051026, US8863234
Including conversational semantic decision support systems (CSDS) and bringing us closer to The message from 2040
Privacy Policy