commit | fdb187d7fffd3d2301f3a1b2a9ab4a0dad0e5d73 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Sun Jul 09 17:03:17 2023 +0200 |
committer | Harald Welte <laforge@osmocom.org> | Tue Jul 11 08:42:12 2023 +0200 |
tree | 4513c4433110acf5a45b917571d4b2a19a815998 | |
parent | ab6897c4cd7f5e0c019f69b2e10ce552bde12127 [diff] [blame] |
pySim/commands.py: Better type annotations Change-Id: I68081b5472188f80a964ca48d5ec1f03adc70c4a
diff --git a/pySim/utils.py b/pySim/utils.py index 22dcda3..9defaf3 100644 --- a/pySim/utils.py +++ b/pySim/utils.py
@@ -30,6 +30,7 @@ Hexstr = NewType('Hexstr', str) SwHexstr = NewType('SwHexstr', str) SwMatchstr = NewType('SwMatchstr', str) +ResTuple = Tuple[Hexstr, SwHexstr] def h2b(s: Hexstr) -> bytearray: """convert from a string of hex nibbles to a sequence of bytes"""