Skip to content

gh-145524: Update comment for TypeVar S in typing.rst#145525

Open
hyperkai wants to merge 1 commit intopython:mainfrom
hyperkai:hyperkai-patch-2
Open

gh-145524: Update comment for TypeVar S in typing.rst#145525
hyperkai wants to merge 1 commit intopython:mainfrom
hyperkai:hyperkai-patch-2

Conversation

@hyperkai
Copy link

@hyperkai hyperkai commented Mar 5, 2026

Clarified the comment for type variable S to specify it can be str or any subtype of str.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

What type bound parameter of typing.TypeVar accepts should be explained more clearly

1 participant