Protocols

Greg Wilson · Chapman & Hall/CRC eBooks · 2024

This chapter starts by showing how we can simplify testing by temporarily replacing real functions with ones that return predictable values, then uses our need to do that to motivate discussion of ways that programmers can hook their own code into the Python interpreter. Unlike other chapters in this book, this one focuses on Python itself rather than the things we can build with it.

Cited by 0 works. doi:10.1201/9781032725239-9

Authors