Вопросы по теме 'instance-method'
где декоратор instancemethod?
В моем коде есть метод, который возвращает экземпляр класса, например:
class MyClass:
def fun( self, *args ): # the method
return Props( self, *args )
class Props: # the returned object
def __init__( self, parent, *args ):
self.parent...
756 просмотров
schedule
08.10.2022