Chargement en cours…

Python descriptors : understanding and using the descriptor protocol /

Create descriptors and see ideas and examples of how to use descriptors effectively. In this short book, you'll explore descriptors in general, with a deep explanation of what descriptors are, how they work, and how they're used. Once you understand the simplicity of the descriptor protoco...

Description complète

Détails bibliographiques
Cote:Libro Electrónico
Auteur principal: Zimmerman, Jacob (Auteur)
Format: Électronique eBook
Langue:Inglés
Publié: [New York] : Apress, [2018]
Édition:Second edition.
Collection:ITpro collection
Sujets:
Accès en ligne:Texto completo (Requiere registro previo con correo institucional)
Table des matières:
  • Introduction; Part I: About descriptors; Chapter 1: What is a descriptor?; Chapter 2: The descriptor protocol; Chapter 3: What are descriptors good for?; Chapter 4: Descriptors in the standard library; Chapter 5: Attribute access and descriptors; Part II: Making descriptors; Chapter 6: Which methods are needed?; Chapter 7: Storing the attributes' Chapter 8: Read-only descriptors; Chapter 9: Writing
  • delete
  • (); Chapter 10: Descriptors are classes too; Chapter 11: Reusing the wheel; Chapter 12: Instance-level descriptors; Chapter 13: Other uses of descriptors in the world.