doraprojects.net
tags
java
javascript
python
android
c#
ios
c++
php
jquery
.net
callable-object
Jaka jest różnica między INIT a call?
Chcę poznać różnicę między metodami __init__ i __call__. Na przykład: class test: def __init__(self): self.a = 10 def __call__(self): b = 20