Skip to content

Conversation

dcbaker
Copy link
Member

@dcbaker dcbaker commented Oct 3, 2025

This has exactly the behavior that you actually want, namely that a bare string does not match, but a sequence does. It's covariant, which is desirable in many cases to avoid needing to cast. It's also immutable, which is desirable in many cases.

@dcbaker dcbaker requested a review from jpakkane as a code owner October 3, 2025 16:38
@dcbaker dcbaker added the typing label Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant