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

Πλήρης περιγραφή

Λεπτομέρειες βιβλιογραφικής εγγραφής
Κύριος συγγραφέας: Zimmerman, Jacob (Συγγραφέας, http://id.loc.gov/vocabulary/relators/aut)
Συγγραφή απο Οργανισμό/Αρχή: SpringerLink (Online service)
Μορφή: Ηλεκτρονική πηγή Ηλ. βιβλίο
Γλώσσα:English
Έκδοση: Berkeley, CA : Apress : Imprint: Apress, 2018.
Έκδοση:2nd ed. 2018.
Θέματα:
Διαθέσιμο Online:Full Text via HEAL-Link
Πίνακας περιεχομένων:
  • 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.