Skip to content

ይህ ትምህርት ገና ወደ አማርኛ አልተተረጎመም፤ ስለዚህ በእንግሊዝኛ ቀርቧል። የእንግሊዝኛውን ገጽ ክፈቱ

Callable objects

በቅርቡ

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

በቅርቡ

This lesson is being written. It will be free here, like every lesson. The Telegram channel announces new lessons as they open.