PyDetectedSdk (@NotNull String version, @NotNull Module module, @NotNull List<Sdk> existingSdks, @NotNull UserDataHolderBase context) { final LanguageLevel parsedVersion = LanguageLevel.fromPythonVersion(version); if (parsedVersion.toString().equals(version)) { return ContainerUtil.find( PySdkExtKt.detectSystemWideSdks(module, existingSdks, context), sdk -> PySdkExtKt.getGuessedLanguageLevel(sdk) == parsedVersion ); } return null; }