summaryrefslogtreecommitdiff
path: root/python/callingconvention.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-03-29 07:20:41 -0400
committerPeter LaFosse <peter@vector35.com>2022-03-29 07:47:36 -0400
commit79ca1197fc3a6a20450d6838f158c7e7bb8298fa (patch)
treedb49257bf0fc2d619562a0a3911f25a3b199cbed /python/callingconvention.py
parent1291c94d3d5592203200c8e048c9ddc851e812e1 (diff)
Add various type hints
Diffstat (limited to 'python/callingconvention.py')
-rw-r--r--python/callingconvention.py2
1 files changed, 1 insertions, 1 deletions
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: