filmov
tv
Python Tutorial: Using Objects like a function, using the __call__ method

Показать описание
Hello and welcome back to Python with another video which is not part of a series or something like that.
If you create objects you can use the magic method named call, to create objects that can be used like functions. You will see that this provides awsome methods :)
If you create objects you can use the magic method named call, to create objects that can be used like functions. You will see that this provides awsome methods :)