diff --git a/python/src/com/jetbrains/python/psi/impl/PyParameterListImpl.java b/python/src/com/jetbrains/python/psi/impl/PyParameterListImpl.java index 73d27ea8fa9f..8eb46efe3f25 100644 --- a/python/src/com/jetbrains/python/psi/impl/PyParameterListImpl.java +++ b/python/src/com/jetbrains/python/psi/impl/PyParameterListImpl.java @@ -42,7 +42,7 @@ public class PyParameterListImpl extends PyBaseElementImpl if (paren != null && ")".equals(paren.getText())) { ASTNode beforeWhat = paren.getNode(); // the closing paren will be this PyParameter[] params = getParameters(); - PyUtil.addListNode(this, param, beforeWhat, true, params.length == 0); + PyUtil.addListNode(this, param, beforeWhat, params.length == 0, true); } }