Skip to content

Conversation

@InvincibleRMC
Copy link
Contributor

@InvincibleRMC InvincibleRMC commented Oct 26, 2025

Description

While working on #5879. I noticed the return type of py::args/py::kwargs was wrong.

Update the return type of py::args/py::kwargs. Also updated make_tuple to use typing::Tuple similar to how make_iterator uses typing::Iterator.

Suggested changelog entry:

* Fix `*args/**kwargs` return types. Add type hinting to `py::make_tuple`.

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