summaryrefslogtreecommitdiff
path: root/python/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/types.py')
-rw-r--r--python/types.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/types.py b/python/types.py
index ac5d75f8..3d48afc2 100644
--- a/python/types.py
+++ b/python/types.py
@@ -1768,8 +1768,6 @@ class Type:
:param CallingConvention calling_convention: optional argument for the function calling convention
:param bool variable_arguments: optional boolean, true if the function has a variable number of arguments
"""
- if params is None:
- params = None
return FunctionType.create(ret, params, calling_convention, variable_arguments, stack_adjust)
@staticmethod