File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -400,11 +400,11 @@ Mypy supports TypeIs (:pep:`742`).
400400
401401A `TypeIs narrowing function <https://typing.readthedocs.io/en/latest/spec/narrowing.html#typeis >`_
402402allows you to define custom type checks that can narrow the type of a variable
403- in `both the if and else <https://docs.python.org/3.13/library/typing.html#typing.TypeIs>_ `
403+ in `both the if and else <https://docs.python.org/3.13/library/typing.html#typing.TypeIs >`_
404404branches of a conditional, similar to how the built-in isinstance() function works.
405405
406406TypeIs is new in Python 3.13 — for use in older Python versions, use the backport
407- from `typing_extensions <https://typing-extensions.readthedocs.io/en/latest/>_ `
407+ from `typing_extensions <https://typing-extensions.readthedocs.io/en/latest/ >`_
408408
409409Consider the following example using TypeIs:
410410
You can’t perform that action at this time.
0 commit comments