From ab6d4d39e34ebba6aec42774488db39921fec90c Mon Sep 17 00:00:00 2001 From: Julianus Pfeuffer Date: Thu, 7 Nov 2024 16:12:30 +0100 Subject: [PATCH] fix var name --- autowrap/CodeGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autowrap/CodeGenerator.py b/autowrap/CodeGenerator.py index 1afe21b..a176f72 100644 --- a/autowrap/CodeGenerator.py +++ b/autowrap/CodeGenerator.py @@ -1738,7 +1738,7 @@ def create_special_setitem_method(self, mdcl): raise Exception("setitem method currently only supports a single argument.") # TODO make sure it is a basic type (class or builtin, no list/dict) - _, ctype = mdcl.arguments[0] + _, ctype_in = mdcl.arguments[0] in_converter = self.cr.get(ctype_in) in_t_py = in_converter.matching_python_type_full(ctype_in)