Searched refs:BinaryIO (Results 1 - 8 of 8) sorted by relevance
/third_party/python/Lib/importlib/resources/ |
H A D | _legacy.py | 7 from typing import Union, Iterable, ContextManager, BinaryIO, TextIO, Any namespace 44 def open_binary(package: Package, resource: Resource) -> BinaryIO:
|
H A D | abc.py | 4 from typing import Any, BinaryIO, Iterable, Iterator, NoReturn, Text, Optional namespace 18 def open_resource(self, resource: Text) -> BinaryIO:
|
H A D | simple.py | 8 from typing import BinaryIO, List namespace 43 # type: (str) -> BinaryIO
|
/third_party/jinja2/ |
H A D | bccache.py | 63 def load_bytecode(self, f: t.BinaryIO) -> None:
|
H A D | ext.py | 774 fileobj: t.BinaryIO,
|
/third_party/python/Lib/tomllib/ |
H A D | _parser.py | 10 from typing import Any, BinaryIO, NamedTuple namespace 57 def load(fp: BinaryIO, /, *, parse_float: ParseFloat = float) -> dict[str, Any]:
|
/third_party/python/Lib/ |
H A D | typing.py | 114 'BinaryIO', 3182 """Generic base class for TextIO and BinaryIO. 3188 append-only, unbuffered). The TextIO and BinaryIO subclasses 3280 class BinaryIO(IO[bytes]): class 3290 def __enter__(self) -> 'BinaryIO': 3301 def buffer(self) -> BinaryIO: 3345 __all__ = ['IO', 'TextIO', 'BinaryIO'] 3348 BinaryIO = BinaryIO variable in io
|
/third_party/python/Lib/test/ |
H A D | test_typing.py | 32 from typing import IO, TextIO, BinaryIO namespace 7035 def stuff(a: BinaryIO) -> bytes: 7044 from typing.io import IO, TextIO, BinaryIO, __all__, __name__ namespace 7047 self.assertIs(BinaryIO, typing.BinaryIO) 7048 self.assertEqual(set(__all__), set(['IO', 'TextIO', 'BinaryIO']))
|
Completed in 26 milliseconds