Abstract
One of the most useful aspects of descriptors is their ability to encapsulate data so well. With descriptors, you have a simple way of accessing an attribute via attribute access notation (a.x) while allowing more complex actions to happen in the background.
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
© 2016 Jacob Zimmerman
About this chapter
Cite this chapter
Zimmerman, J. (2016). What Are Descriptors Good For?. In: Python Descriptors. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2505-9_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2505-9_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2504-2
Online ISBN: 978-1-4842-2505-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)