Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
small typo
  • Loading branch information
Fidget-Spinner committed Apr 11, 2021
commit 49964fa3c5945900f54294e5936ec80d81dfdd6d
2 changes: 1 addition & 1 deletion Lib/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def TypeGuard(self, parameters):
type checkers to determine a more precise type of an expression within a
program's code flow. Usually type narrowing is done by analyzing
conditional code flow and applying the narrowing to a block of code. The
conditional expression here is sometimes referred to as a "type guard"::
conditional expression here is sometimes referred to as a "type guard".

Sometimes, a type guard uses a user-defined checking function instead of
``isinstance`` or ``is None`` checks. These user-defined type guard
Expand Down