[typing_extensions] Use unconstrained type var for final (#15622)

This matches `typing.final`.
This commit is contained in:
zedzhen
2026-04-07 12:55:19 +03:00
committed by GitHub
parent 4f08613245
commit 7eb0dddd46
+1 -1
View File
@@ -220,7 +220,7 @@ def runtime_checkable(cls: _TC) -> _TC: ...
runtime = runtime_checkable
Final: _SpecialForm
def final(f: _F) -> _F: ...
def final(f: _T) -> _T: ...
def disjoint_base(cls: _TC) -> _TC: ...
Literal: _SpecialForm