I'm learning PyQt。 I got to know we can use lambda to pass parameter in a connect operation,like bellow:
self.actionspi.triggered.connect(lambda: self.update_interface_name(self.actionspi.text()))
then I'm curious about if the lifecycle of the anonymous lambda is exactly as the c++ lambda talked about in here(C++ lambda lifecycle)
thx