- glue.utils.misc.nonpartial(func, *args, **kwargs)¶
Like functools.partial, this returns a function which, when called, calls
Unlike functools.partial, extra arguments passed to the returned function are not passed to the input function.
This is used when connecting slots to
QAction.triggeredsignals, which appear to have different signatures, which seem to add and extra argument in PyQt but not PySide