mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
inherit
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Iterable, BinaryIO, List, Callable, IO, AnyStr
|
||||
from typing import Iterable, BinaryIO, List, Callable, IO, AnyStr, Generic
|
||||
|
||||
|
||||
def input(
|
||||
@@ -18,7 +18,7 @@ def lineno() -> int: ...
|
||||
def isfirstline() -> bool: ...
|
||||
def isstdin() -> bool: ...
|
||||
|
||||
class FileInput(Iterable):
|
||||
class FileInput(Iterable[AnyStr], Generic[AnyStr]):
|
||||
def __init__(
|
||||
self,
|
||||
files: List[str]=...,
|
||||
|
||||
Reference in New Issue
Block a user