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...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[New York] :
Apress,
[2018]
|
Edición: | Second edition. |
Colección: | ITpro collection
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- 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.