Skip to content

Commit

Permalink
Update Lib/typing.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <[email protected]>
  • Loading branch information
JelleZijlstra and AlexWaygood authored Jun 14, 2023
1 parent 7e8636a commit 8b31c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3358,7 +3358,7 @@ def is_protocol(tp: type, /) -> bool:
return (
isinstance(tp, type)
and getattr(tp, '_is_protocol', False)
and tp is not Protocol
and tp != Protocol
)


Expand Down

0 comments on commit 8b31c81

Please sign in to comment.