Open buhtz opened 6 years ago
Please see https://lazka.github.io/pgi-docs/#GLib-2.0/functions.html#GLib.timeout_add where the signature is
GLib.timeout_add(priority, interval, function, *data)
But this is wrong. help() tells me
help()
timeout_add(interval, function, *user_data, **kwargs)
How is the API Ref generated? Isn't it generated from the sources? So why is there a difference between the API Ref and help()?
This is because it is overriden, but gets the description from the regular docs.
This also happens to GLib.idle_add(). The correct signature is GLib.idle_add(function, *user_data, **kwargs)
Please see https://lazka.github.io/pgi-docs/#GLib-2.0/functions.html#GLib.timeout_add where the signature is
GLib.timeout_add(priority, interval, function, *data)
But this is wrong.
help()
tells metimeout_add(interval, function, *user_data, **kwargs)
How is the API Ref generated? Isn't it generated from the sources? So why is there a difference between the API Ref and
help()
?