Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd49055

Browse files
PEP 800: Note that ty now supports @disjoint_base, note typing_extensions release (#4560)
Co-authored-by: Adam Turner <[email protected]>
1 parent e43fdd2 commit fd49055

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

peps/pep-0800.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,12 @@ explain to users why type checkers treat certain branches as unreachable.
371371
Reference Implementation
372372
========================
373373

374-
The runtime implementation of the ``@disjoint_base`` decorator will be available in
375-
typing-extensions 4.15.0.
374+
The runtime implementation of the ``@disjoint_base`` decorator is available in
375+
`typing-extensions 4.15.0 <https://pypi.org/project/typing-extensions/4.15.0/>`__.
376376
`python/mypy#19678 <https://github.com/python/mypy/pull/19678>`__
377377
implements support for disjoint bases in mypy and in the stubtest tool.
378+
`astral-sh/ruff#20084 <https://github.com/astral-sh/ruff/pull/20084>`__
379+
implements support for disjoint bases in the ty type checker.
378380

379381
Appendix
380382
========

0 commit comments

Comments
 (0)