inspect.isgetsetdescriptor()

inspect.isgetsetdescriptor(object)

Return true if the object is a getset descriptor.

CPython implementation detail: getsets are attributes defined in extension modules via PyGetSetDef structures. For Python implementations without such types, this method will always return False.

doc_python
2016-10-07 17:35:05
Comments
Leave a Comment

Please login to continue.