Abstract
Put very simply, a descriptor is a class that can be used to call a method with simple attribute access, but there's obviously more to it than that. It's difficult to explain beyond that without digging a little into how descriptors implemented. So, here's a high-level view of the descriptor protocol.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Jacob Zimmerman
About this chapter
Cite this chapter
Zimmerman, J. (2018). What Is a Descriptor?. In: Python Descriptors. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3727-4_1
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3727-4_1
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3726-7
Online ISBN: 978-1-4842-3727-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)