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

Improve some typing annotations #8369

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Improve some typing annotations #8369

merged 1 commit into from
Nov 12, 2024

Conversation

tengyifei
Copy link
Collaborator

Tuple[T] means a tuple of 1 element of type T. These annotations actually wanted to say a tuple of N elements of type T. The right incantation for that is Tuple[T, ...].

`Tuple[T]` means a tuple of 1 element of type `T`. These annotations
actually wanted to say a tuple of N elements of type `T`. The right
incantation for that is `Tuple[T, ...]`.
@tengyifei tengyifei requested a review from ManfeiBai November 11, 2024 22:47
@JackCaoG JackCaoG merged commit c4f2771 into master Nov 12, 2024
12 checks passed
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.

2 participants