mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-212619 python: mark deprecated unused API for removal
API, which was marked as deprecated in 252 or earlier and has no external and internal usages, is marked for removal. GitOrigin-RevId: 1b2718d98de6c12266e9224d59e594ffbc986670
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c02060333f
commit
172138ad57
@@ -2,6 +2,7 @@
|
||||
package com.jetbrains.python.errorProcessing
|
||||
|
||||
import com.jetbrains.python.packaging.PyExecutionException
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import org.jetbrains.annotations.Nls
|
||||
|
||||
/**
|
||||
@@ -30,6 +31,7 @@ fun <T> Result<T>.asPythonResult(): com.jetbrains.python.Result<T, PyError> =
|
||||
}
|
||||
)
|
||||
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
@Deprecated("Use python result, not kotlin result")
|
||||
fun <S> PyResult<S>.asKotlinResult(): Result<S> = when (this) {
|
||||
is com.jetbrains.python.Result.Success -> {
|
||||
|
||||
Reference in New Issue
Block a user