Skip to content

Parameters missing from function call #207

@nmartensen

Description

@nmartensen

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

According to advice received in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996084#10
this is probably a bug in the documentation-generating tool. Is this pgi-docgen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions