Skip to content

v0.1.0

Latest
Compare
Choose a tag to compare
@bojiang bojiang released this 23 May 18:21
· 5 commits to main since this release
10476c3

API issubtype:

  • Fix for Union: now issubtype(Union[list, tuple], typing.Sequence) == True
  • Fix None as an alias of type(None)
  • Support TypeVar checking, while issubtype(TypeVar("T1"), TypeVar("T2")) == typing_utils.unknown
  • Fix for Callable: Callable[[int], str] won't raise an exception anymore.