Skip to content

Conversation

@cielavenir
Copy link

  1. pybind11's std::array docstring was generating List[int[2]], which was not correct. Use annotated for array pybind/pybind11#4679 corrected the docstring to Annotated[List[int], FixedSize(2)], which is correct syntax. But stubgen has to be updated.
  2. pybind11's bind map could not be parsed by stubgen correctly, which was corrected.

/cc @rwgk @felixvd

(Explain how this PR changes mypy.)

@github-actions
Copy link
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant