Closed
Description
The current docstring for typing.TypeGuard
includes a single example, but that example does not use TypeGuard
, and in fact demonstrates behavior that differs from that of TypeGuard
in essential ways. It would be less confusing if the TypeGuard example actually exemplified TypeGuard.