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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.