@@ -225,17 +225,18 @@ def waitSignal(self, signal=None, timeout=1000, raising=None, check_params_cb=No
225225 This defaults to ``True`` unless ``qt_wait_signal_raising = false``
226226 is set in the config.
227227 :param Callable check_params_cb:
228- Optional callable(*parameters) that compares the provided signal parameters to some expected parameters.
228+ Optional `` callable(*parameters)`` that compares the provided signal parameters to some expected parameters.
229229 It has to match the signature of ``signal`` (just like a slot function would) and return ``True`` if
230230 parameters match, ``False`` otherwise.
231231 :returns:
232232 ``SignalBlocker`` object. Call ``SignalBlocker.wait()`` to wait.
233233
234234 .. note::
235- Cannot have both ``signals`` and ``timeout`` equal ``None``, or
236- else you will block indefinitely. We throw an error if this occurs.
235+ Cannot have both ``signals`` and ``timeout`` equal ``None``, or
236+ else you will block indefinitely. We throw an error if this occurs.
237237
238- .. note:: This method is also available as ``wait_signal`` (pep-8 alias)
238+ .. note::
239+ This method is also available as ``wait_signal`` (pep-8 alias)
239240 """
240241 if raising is None :
241242 raising_val = self ._request .config .getini ('qt_wait_signal_raising' )
@@ -289,12 +290,16 @@ def waitSignals(self, signals=None, timeout=1000, raising=None, check_params_cbs
289290 Instead of a specific callable, ``None`` can be provided, to disable parameter checking for the
290291 corresponding signal.
291292 If the number of callbacks doesn't match the number of signals ``ValueError`` will be raised.
292- :param str order: determines the order in which to expect signals
293- * ``"none"``: no order is enforced
294- * ``"strict"``: signals have to be emitted strictly in the provided order
295- (e.g. fails when expecting signals [a, b] and [a, a, b] is emitted)
296- * ``"simple"``: like "strict", but signals may be emitted in-between the provided ones, e.g. expected
297- ``signals`` == [a, b, c] and actually emitted signals = [a, a, b, a, c] works (would fail with "strict")
293+ :param str order:
294+ Determines the order in which to expect signals:
295+
296+ - ``"none"``: no order is enforced
297+ - ``"strict"``: signals have to be emitted strictly in the provided order
298+ (e.g. fails when expecting signals [a, b] and [a, a, b] is emitted)
299+ - ``"simple"``: like "strict", but signals may be emitted in-between the provided ones, e.g. expected
300+ ``signals == [a, b, c]`` and actually emitted ``signals = [a, a, b, a, c]`` works
301+ (would fail with ``"strict"``).
302+
298303 :returns:
299304 ``MultiSignalBlocker`` object. Call ``MultiSignalBlocker.wait()``
300305 to wait.
0 commit comments