Mine
public text v1 · immutable if __debug__ and not methodName.endswith("UpdateUI"):
## show dispatched events
logger.debug("Calling %s on %s (%s): %s" % \
(methodName, getattr(Block, "blockName", "?"),
Block, getattr(event, "arguments",
"(no arguments)")))