mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 11:51:28 +08:00
committed by
Sebastian Rittau
parent
3d638b0677
commit
14e387b6fd
@@ -104,7 +104,7 @@ class FileIO(_RawIOBase, BytesIO):
|
||||
mode = ... # type: str
|
||||
closefd = ... # type: bool
|
||||
def __init__(self, file: Union[str, int], mode: str = ..., closefd: bool = ...) -> None: ...
|
||||
def readinto(self, buffer: _bytearray_like)-> int: ...
|
||||
def readinto(self, buffer: _bytearray_like) -> int: ...
|
||||
def write(self, pbuf: str) -> int: ...
|
||||
|
||||
class IncrementalNewlineDecoder(object):
|
||||
|
||||
@@ -20,7 +20,7 @@ class BuiltinImporter(importlib.abc.MetaPathFinder,
|
||||
def find_spec(cls, fullname: str,
|
||||
path: Optional[Sequence[importlib.abc._Path]],
|
||||
target: Optional[types.ModuleType] = ...) -> Optional[ModuleSpec]:
|
||||
...
|
||||
...
|
||||
# InspectLoader
|
||||
@classmethod
|
||||
def is_package(cls, fullname: str) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user