diff options
| author | Peter LaFosse <peter@vector35.com> | 2023-03-28 15:08:48 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2023-03-29 15:33:08 -0400 |
| commit | 8d791bc9eb608139c6fd9d99ab0d96ed37561d3a (patch) | |
| tree | 6c7b4d3c0b9cb8b1c08d21da318f2080b7e2a5d5 /python/variable.py | |
| parent | eccbcdea4a23ce50a586decfcec5e7454ea049e4 (diff) | |
Fix some type hints using more correct Dict instead of Mapping
Diffstat (limited to 'python/variable.py')
| -rw-r--r-- | python/variable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/variable.py b/python/variable.py index 09b24e9c..2ab0a9fe 100644 --- a/python/variable.py +++ b/python/variable.py @@ -20,7 +20,7 @@ # IN THE SOFTWARE. import ctypes -from typing import List, Generator, Optional, Union, Set, Mapping +from typing import List, Generator, Optional, Union, Set, Dict from dataclasses import dataclass import binaryninja @@ -470,7 +470,7 @@ class PossibleValueSet: return self._table @property - def mapping(self) -> Mapping[int, int]: + def mapping(self) -> Dict[int, int]: return self._mapping @property |
