- "Process all currently pending events right now, instead of waiting until\n"
- "return to the event loop. It is an error to call Yield() recursively unless\n"
- "the value of onlyIfNeeded is True.\n"
- "\n"
- "WARNING: This function is dangerous as it can lead to unexpected\n"
- " reentrancies (i.e. when called from an event handler it\n"
- " may result in calling the same event handler again), use\n"
- " with _extreme_ care or, better, don't use at all!\n");
+ "Process all currently pending events right now, instead of waiting
+until return to the event loop. It is an error to call ``Yield``
+recursively unless the value of ``onlyIfNeeded`` is True.
+
+:warning: This function is dangerous as it can lead to unexpected
+ reentrancies (i.e. when called from an event handler it may
+ result in calling the same event handler again), use with
+ _extreme_ care or, better, don't use at all!
+
+:see: `wx.Yield`, `wx.YieldIfNeeded`, `wx.SafeYield`");