[python] API cleanup: mark deprecated unused API for removal (IJPL-156972)

Deprecated APIs which still have internal usage are marked as internal to ensure that new external usages won't appear.

GitOrigin-RevId: 09818b884851d7b768f8ee0f356f982e79b46ed9
This commit is contained in:
Nikolay Chashnikov
2024-10-10 20:47:18 +02:00
committed by intellij-monorepo-bot
parent 413c38a585
commit b03b560520
5 changed files with 9 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ package com.jetbrains.python;
import com.intellij.openapi.util.NlsSafe;
import com.jetbrains.python.psi.LanguageLevel;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -447,6 +448,7 @@ public final @NonNls class PyNames {
/**
* @deprecated use {@link #getBuiltinMethods(LanguageLevel)} instead
*/
@ApiStatus.Internal
@Deprecated
public static final Map<String, BuiltinDescription> PY36_BUILTIN_METHODS = concat(
PY35_BUILTIN_METHODS,