Home
last modified time | relevance | path

Searched refs:BinaryIO (Results 1 - 8 of 8) sorted by relevance

/third_party/python/Lib/importlib/resources/
H A D_legacy.py7 from typing import Union, Iterable, ContextManager, BinaryIO, TextIO, Any namespace
44 def open_binary(package: Package, resource: Resource) -> BinaryIO:
H A Dabc.py4 from typing import Any, BinaryIO, Iterable, Iterator, NoReturn, Text, Optional namespace
18 def open_resource(self, resource: Text) -> BinaryIO:
H A Dsimple.py8 from typing import BinaryIO, List namespace
43 # type: (str) -> BinaryIO
/third_party/jinja2/
H A Dbccache.py63 def load_bytecode(self, f: t.BinaryIO) -> None:
H A Dext.py774 fileobj: t.BinaryIO,
/third_party/python/Lib/tomllib/
H A D_parser.py10 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 Dtyping.py114 '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 Dtest_typing.py32 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