Bug#996084: vte2.91: wrong argument list in spawn_async documentation
Nis Martensen
nis.martensen at web.de
Sun Oct 10 22:07:35 BST 2021
Source: vte2.91
Version: 0.62.3-1
Severity: normal
Tags: upstream
X-Debbugs-Cc: nis.martensen at web.de
According to
https://lazka.github.io/pgi-docs/Vte-2.91/classes/Terminal.html#Vte.Terminal.spawn_async
and
https://lazka.github.io/pgi-docs/#Vte-2.91/classes/Pty.html#Vte.Pty.spawn_async
the order of arguments includes:
..., spawn_flags, child_setup, timeout, ...
However, the code does not work when trying to use that argument order,
the result is: TypeError: Argument 9 does not allow None as a value
It would be great if the code and its documentation would match.
An example illustrating that there must be in fact two arguments
between the spawn_flags and the timeout can be found here:
https://stackoverflow.com/questions/55105447/virtual-python-shell-with-vte-pty-spawn-async
What is the correct list of arguments that the function takes?
More information about the pkg-gnome-maintainers
mailing list