1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 23:38:09 +00:00

fix(core): allow AnyStr as parameter for unhexlify

This commit is contained in:
matejcik 2021-08-31 11:39:49 +02:00 committed by matejcik
parent 30b08d949b
commit 4b34e4c001

View File

@ -1,5 +1,7 @@
from typing import AnyStr
def hexlify(data: bytes, sep: bytes = ...) -> bytes: ...
def unhexlify(data: bytes) -> bytes: ...
def unhexlify(data: AnyStr) -> bytes: ...
def a2b_base64(data: bytes) -> bytes: ...
def b2a_base64(data: bytes) -> bytes: ...
def crc32(data: bytes, crc: int = ...) -> int: ...