Is it possible to make several designers with different amounts of arguments in Python in one class?
class a : def __ init __ ( self, b ): pass def __ Init __ ( self ): pass pre> in this case, you can create a class of class only with the second constector, while the recording x = a (42) will cause an error.
question@mail.ru
·