Skip to content

Commit

Permalink
Correct type_check() docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Mar 15, 2024
1 parent 10ae988 commit 034fe56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime_generics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def _inner_type_check( # noqa: PLR0911

def type_check(subtype: Any, cls: Any) -> bool:
"""
Examine whether a runtime generic is a of another runtime generic.
Examine whether a runtime generic is a valid subtype of another runtime generic.
Variance is supported. TypeVar bounds are not yet supported.
Expand Down

0 comments on commit 034fe56

Please sign in to comment.