docs: def disconnect(self, func=None):
          """Disconnect a function call to the signal. If None, all connections
          are disconnected"""
          if func is None:
              self._connections = []
          else:
              self._connections.remove(func)