mirror of
https://github.com/trezor/trezor-firmware.git
synced 2026-03-04 22:45:50 +01:00
Majority by volume is resolving the byte types promotion problem, which pyright stopped ignoring
9 lines
336 B
Python
9 lines
336 B
Python
from typing import *
|
|
from buffer_types import *
|
|
|
|
def calcsize(fmt: str) -> int: ...
|
|
def pack(fmt: str, *args: Any) -> bytes: ...
|
|
def pack_into(fmt: str, buffer: AnyBuffer, offset: int, *args: Any) -> None: ...
|
|
def unpack(fmt: str, data: AnyBytes) -> Tuple: ...
|
|
def unpack_from(fmt: str, data: AnyBytes, offset: int = ...) -> Tuple: ...
|