DefaultValue (@NotNull PyCallExpression call) { final PyExpression[] arguments = call.getArguments(); if (arguments.length > 1) { final PyExpression argument = PyUtil.peelArgument(arguments[1]); final String value = argument == null ? null : argument.getText(); return value == null ? DefaultValue.noDefault() : DefaultValue.defaultValue(value); } final PyQualifiedExpression callee = PyUtil.as(call.getCallee(), PyQualifiedExpression.class); if (callee != null && "get".equals(callee.getReferencedName())) { return DefaultValue.defaultValue(PyNames.NONE); } return DefaultValue.noDefault(); }