0
How to create a magic method ?
There are many built in magic method are there just like function. _add_ , _sub_ , _mul_ , _mod_ , ..... I know how to use magic methods.Like user defined functions how can we create user defined magic methods so that we import and use in many classes. eg _new_
1 Odpowiedź
0
First share your practice where you've tried.