From 79ca1197fc3a6a20450d6838f158c7e7bb8298fa Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 29 Mar 2022 07:20:41 -0400 Subject: Add various type hints --- python/callingconvention.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/callingconvention.py') diff --git a/python/callingconvention.py b/python/callingconvention.py index 44d835b7..ced98b75 100644 --- a/python/callingconvention.py +++ b/python/callingconvention.py @@ -54,7 +54,7 @@ class CallingConvention: _registered_calling_conventions = [] def __init__( - self, arch: 'architecture.Architecture' = None, name: str = None, handle=None, + self, arch: Optional['architecture.Architecture'] = None, name: Optional[str] = None, handle=None, confidence: int = core.max_confidence ): if handle is None: -- cgit v1.3.1