Skip to content

How to handle unnamed parameters in typestubs #171

@jpfeuffer

Description

@jpfeuffer

Since named parameters are not possible in a C function (See #167 ) we should think about removing names from the typehints to not confuse language servers like Jedi (see Discussion there).
However, I think other language servers like the one from PyCharm can make use of the names without autocompleting it with name=val (which does not work).
We would need to investigate where PyCharm gets the info from (docstring, where we will have names; or typestub, where will not have names anymore).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions