Skip to content

Commit 7eb0ddd

Browse files
authored
[typing_extensions] Use unconstrained type var for final (#15622)
This matches `typing.final`.
1 parent 4f08613 commit 7eb0ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/typing_extensions.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def runtime_checkable(cls: _TC) -> _TC: ...
220220
runtime = runtime_checkable
221221
Final: _SpecialForm
222222

223-
def final(f: _F) -> _F: ...
223+
def final(f: _T) -> _T: ...
224224
def disjoint_base(cls: _TC) -> _TC: ...
225225

226226
Literal: _SpecialForm

0 commit comments

Comments
 (0)