summaryrefslogtreecommitdiffstats
path: root/shibokengenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r--shibokengenerator.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp
index accc1410..75c25df3 100644
--- a/shibokengenerator.cpp
+++ b/shibokengenerator.cpp
@@ -1071,9 +1071,7 @@ void ShibokenGenerator::writeCodeSnips(QTextStream& s,
argsRemoved++;
}
numArgs = func->arguments().size() - argsRemoved;
-
- usePyArgs = getMinMaxArguments(func).second > 1 || func->isConstructor();
-
+ usePyArgs = getMinMaxArguments(func).second > 1;
}
foreach (CodeSnip snip, codeSnips) {