diff --git a/python/src/META-INF/python-core-common.xml b/python/src/META-INF/python-core-common.xml index dc4f5dfd8659..09b7d406e4bd 100644 --- a/python/src/META-INF/python-core-common.xml +++ b/python/src/META-INF/python-core-common.xml @@ -120,7 +120,6 @@ - diff --git a/python/src/com/jetbrains/python/psi/impl/stubs/PyTargetExpressionElementType.java b/python/src/com/jetbrains/python/psi/impl/stubs/PyTargetExpressionElementType.java index 74320424f108..e31678699ee7 100644 --- a/python/src/com/jetbrains/python/psi/impl/stubs/PyTargetExpressionElementType.java +++ b/python/src/com/jetbrains/python/psi/impl/stubs/PyTargetExpressionElementType.java @@ -168,17 +168,9 @@ public class PyTargetExpressionElementType extends PyStubElementType { - public static final StubIndexKey KEY = StubIndexKey.createIndexKey("Py.instanceAttribute.name"); - - @Override - public int getVersion() { - return super.getVersion() + 1; - } - - @NotNull - @Override - public StubIndexKey getKey() { - return KEY; - } - - public static Collection find(String name, Project project, GlobalSearchScope scope) { - return StubIndex.getElements(KEY, name, project, scope, PyTargetExpression.class); - } -}