Callable objects
Coming soon
Make object instances behave like functions by implementing __call__.
You'll be able to
- Implement the __call__ dunder method on custom classes
- Create stateful callable objects that maintain invocation history
- Use callable classes as configurable factories and decorators
Coming soon
This lesson is being written. The Telegram channel announces new lessons as they open.