Skip to content

Adds positional and kwarg only symbols into generated stubs #19340

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

InvincibleRMC
Copy link
Contributor

Updates stubgen to use * and / from docstrings to generate functions with positional and/or kwarg only arguments.

Updated unit tests and updated pybind11 version to a version with * and / included in the functions docstrings.

This comment has been minimized.

Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants