From 27b1933f4a6a7259cf766a84f7c0ec5ee471764f Mon Sep 17 00:00:00 2001 From: Ac0rn Date: Thu, 17 Mar 2022 09:26:40 -0400 Subject: [PATCH] changed union type hints to be python3.9 or less compatible --- lifter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lifter.py b/lifter.py index 56b4aa0..0598abf 100644 --- a/lifter.py +++ b/lifter.py @@ -1,4 +1,4 @@ -from typing import Callable, List +from typing import Callable, List, Union from binaryninja import ( LLIL_TEMP, Architecture, @@ -15,7 +15,7 @@ SourceOperandsIL: List[ Callable[ - [LowLevelILFunction, int | None, RegisterType | None, int | None], + [LowLevelILFunction, Union[int, None], Union[RegisterType, None], Union[int, None]], ExpressionIndex, ] ] = [