This commit is contained in:
Gustavo Carneiro committed 2020-03-15 20:23:09 +00:00
1 parent 5c6f9a7d08
commit ad333c098c
1 file changed
+2 -1
+2 -1
View File
@@ -2233,7 +2233,8 @@ typedef struct {
except KeyError:
pass
else:
dict_.setdefault("tp_call", call_method.wrapper_actual_name)
if call_method.wrapper_actual_name:
dict_.setdefault("tp_call", call_method.wrapper_actual_name)
self.pytype.generate(code_sink)