Skip to content

Commit 3e0cf94

Browse files
author
hauntsaninja
committed
lib-stub: add list to builtins
1 parent 0faa2b8 commit 3e0cf94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test-data/unit/lib-stub/builtins.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ class bytes: pass
1919
class function: pass
2020
class ellipsis: pass
2121

22+
from typing import Generic, Sequence, TypeVar
23+
_T = TypeVar('_T')
24+
class list(Generic[_T], Sequence[_T]): pass
25+
2226
# Definition of None is implicit

0 commit comments

Comments
 (0)