void (@NotNull final PyReferenceExpression element) { final PyCallExpression callExpression = PsiTreeUtil.getParentOfType(element, PyCallExpression.class); if (callExpression == null) return; final PyArgumentList argumentList = callExpression.getArgumentList(); if (argumentList == null) return; final PyExpression[] arguments = argumentList.getArguments(); if (arguments.length > 0) { arguments[0].delete(); } }