From 8d791bc9eb608139c6fd9d99ab0d96ed37561d3a Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 28 Mar 2023 15:08:48 -0400 Subject: Fix some type hints using more correct Dict instead of Mapping --- python/variable.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/variable.py') 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 -- cgit v1.3.1