MCPcopy Index your code
hub / github.com/python/mypy / translate

Method translate

mypyc/test-data/fixtures/ir.py:189–189  ·  view source on GitHub ↗
(self, t: bytes | bytearray)

Source from the content-addressed store, hash-verified

187 def join(self, x: Iterable[object]) -> bytes: ...
188 def decode(self, encoding: str=..., errors: str=...) -> str: ...
189 def translate(self, t: bytes | bytearray) -> bytes: ...
190 def startswith(self, t: bytes | bytearray) -> bool: ...
191 def endswith(self, t: bytes | bytearray) -> bool: ...
192 def __iter__(self) -> Iterator[int]: ...

Callers 2

on_fileMethod · 0.80
encode_c_string_literalFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected