Skip to content

Commit

Permalink
Fix typos in TypeIs docstring (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamdanal authored Dec 21, 2024
1 parent 6f84687 commit 1ee20f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2141,7 +2141,7 @@ def TypeIs(self, parameters):
1. The return value is a boolean.
2. If the return value is ``True``, the type of its argument
is the intersection of the type inside ``TypeGuard`` and the argument's
is the intersection of the type inside ``TypeIs`` and the argument's
previously known type.
For example::
Expand Down Expand Up @@ -2189,7 +2189,7 @@ def __getitem__(self, parameters):
1. The return value is a boolean.
2. If the return value is ``True``, the type of its argument
is the intersection of the type inside ``TypeGuard`` and the argument's
is the intersection of the type inside ``TypeIs`` and the argument's
previously known type.
For example::
Expand Down

0 comments on commit 1ee20f7

Please sign in to comment.