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...

Full description

Bibliographic Details
Main Author: Zimmerman, Jacob (Author, http://id.loc.gov/vocabulary/relators/aut)
Corporate Author: SpringerLink (Online service)
Format: Electronic eBook
Language:English
Published: Berkeley, CA : Apress : Imprint: Apress, 2018.
Edition:2nd ed. 2018.
Subjects:
Online Access:Full Text via HEAL-Link
Table of Contents:
  • 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 To
  • Chapter 11: Reusing the Wheel
  • Chapter 12: Instance-Level Descriptors
  • Chapter 13: Other Uses of Descriptors in the World.