diff --git a/python/psi-api/src/com/jetbrains/python/psi/PyClass.java b/python/psi-api/src/com/jetbrains/python/psi/PyClass.java index 32529cfd3f86..80ac706fa490 100644 --- a/python/psi-api/src/com/jetbrains/python/psi/PyClass.java +++ b/python/psi-api/src/com/jetbrains/python/psi/PyClass.java @@ -51,7 +51,7 @@ public interface PyClass extends PsiNameIdentifierOwner, PyStatement, NameDefine List getAncestorClasses(@NotNull TypeEvalContext context); /** - * Returns types of all ancestors from the hierarchy using the default type evaluation context. + * Returns only those ancestors from the hierarchy, that are resolved to PyClass PSI elements, using the default type evaluation context. * * @see #getAncestorClasses(TypeEvalContext) if a more detailed TypeEvalContext is available. */