Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle unnamed parameters in typestubs #171

Open
jpfeuffer opened this issue Dec 20, 2022 · 0 comments
Open

How to handle unnamed parameters in typestubs #171

jpfeuffer opened this issue Dec 20, 2022 · 0 comments

Comments

@jpfeuffer
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant