I want to know the difference between __init__ and __call__ methods.
__init__
__call__
For example:
class test: def __init__(self): self.a = 10 def __call__(self): b = 20
← Назад к списку