Skip to content

The functools toolkit

Coming soon

Use partial, cache / lru_cache, and singledispatch from functools.

You'll be able to

  • Freeze function arguments using functools.partial
  • Cache expensive computations with @functools.lru_cache
  • Implement function overloading with @functools.singledispatch

Coming soon

This lesson is being written. The Telegram channel announces new lessons as they open.