+ 3
Is there any way for an __init__ to get called more than once during program execution if not explicitly called?
4 ответов
+ 2
__init__ is called every time when you instantiate a new object of the class.
+ 3
I don't know, why it is needed to be ran more than once, but when you do:
class_name.__init__(object, args)
The function __init__ will be called as a normal function.
+ 1
Thc
0
o