Skip to content

Adds positional and kwarg only symbols into generated stubs#19340

Open
InvincibleRMC wants to merge 23 commits into
python:masterfrom
InvincibleRMC:pos_only-in-stubgen
Open

Adds positional and kwarg only symbols into generated stubs#19340
InvincibleRMC wants to merge 23 commits into
python:masterfrom
InvincibleRMC:pos_only-in-stubgen

Conversation

@InvincibleRMC
Copy link
Copy Markdown
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.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants