String (QualifiedName moduleName, Sdk sdk) { String modName = getModuleName(moduleName.toString()); final String pyVersion = PythonDocumentationProvider.pyVersion(sdk.getVersionString()); final Map<String, String> moduleToWebpageName = pyVersion != null && pyVersion.startsWith("3") ? py3LibraryModulesToWebpageName : py2LibraryModulesToWebpageName; return moduleToWebpageName.get(modName); }