Pro Python pp 161-188 | Cite as

Common Protocols

  • J. Burton Browning
  • Marty Alchin


Most of the time, you’ll want to define objects that are highly customized to the needs of your application. This often means coming up with your own interfaces and APIs that are unique to your own code. The flexibility to do this is essential to the expansion capabilities of any system, but there is a price. Everything new that you invent must be documented and understood by those who need to use it.


Code Block Additional Argument Context Manager Floating Point Number Custom Object 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© J. Burton Browning 2014

Authors and Affiliations

  • J. Burton Browning
    • 1
  • Marty Alchin
    • 1
  1. 1.NCUnited States

Personalised recommendations