diff --git a/python/psi-api/src/com/jetbrains/python/codeInsight/PyCustomMember.java b/python/psi-api/src/com/jetbrains/python/codeInsight/PyCustomMember.java index 55c576154378..77218c6457fc 100644 --- a/python/psi-api/src/com/jetbrains/python/codeInsight/PyCustomMember.java +++ b/python/psi-api/src/com/jetbrains/python/codeInsight/PyCustomMember.java @@ -171,7 +171,7 @@ public class PyCustomMember { } PyClass targetClass = null; - if (myTypeName != null && myTypeName.indexOf('.') > 0) { + if (myTypeName != null) { targetClass = PyPsiFacade.getInstance(context.getProject()).createClassByQName(myTypeName, context); } final PsiElement resolveTarget = findResolveTarget(context);