mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 00:20:55 +07:00
PY-34617 Take into account sys.version_info checks when analyzing Python files
Support version checks for import statements. GitOrigin-RevId: df52f60574962e1bc222121aadc082683de0a869
This commit is contained in:
committed by
intellij-monorepo-bot
parent
79dc479c63
commit
db52d4ec3d
@@ -7,7 +7,7 @@ import com.intellij.psi.util.QualifiedName;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
|
||||
public interface PyFromImportStatementStub extends StubElement<PyFromImportStatement> {
|
||||
public interface PyFromImportStatementStub extends StubElement<PyFromImportStatement>, PyVersionSpecificStub {
|
||||
@Nullable
|
||||
QualifiedName getImportSourceQName();
|
||||
|
||||
|
||||
@@ -5,5 +5,5 @@ import com.intellij.psi.stubs.StubElement;
|
||||
import com.jetbrains.python.psi.PyImportStatement;
|
||||
|
||||
|
||||
public interface PyImportStatementStub extends StubElement<PyImportStatement> {
|
||||
public interface PyImportStatementStub extends StubElement<PyImportStatement>, PyVersionSpecificStub {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user