Summary
Summarize the concept explored in this chapter regarding object-oriented and functional programming intersection in Python.
Recall
We’ve touched on a number of ways that object-oriented and functional programming techniques are part of Python:
- Python built-in functions provide access to special methods that can be implemented by a wide variety of classes. Almost all classes, most of them utterly unrelated, provide an implementation for
__str__( )and__repr__()methods, which can be used by the built-instr()andrepr()functions. There are many functions like this where a
Ask