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:
parent
30b08d949b
commit
4b34e4c001
@ -1,5 +1,7 @@
|
|||||||
|
from typing import AnyStr
|
||||||
|
|
||||||
def hexlify(data: bytes, sep: bytes = ...) -> bytes: ...
|
def hexlify(data: bytes, sep: bytes = ...) -> bytes: ...
|
||||||
def unhexlify(data: bytes) -> bytes: ...
|
def unhexlify(data: AnyStr) -> bytes: ...
|
||||||
def a2b_base64(data: bytes) -> bytes: ...
|
def a2b_base64(data: bytes) -> bytes: ...
|
||||||
def b2a_base64(data: bytes) -> bytes: ...
|
def b2a_base64(data: bytes) -> bytes: ...
|
||||||
def crc32(data: bytes, crc: int = ...) -> int: ...
|
def crc32(data: bytes, crc: int = ...) -> int: ...
|
||||||
|
Loading…
Reference in New Issue
Block a user