PsiElement (@NotNull PyFile module, @NotNull String name, @NotNull PyResolveContext resolveContext) { for (PyModuleMembersProvider provider : PyModuleMembersProvider.EP_NAME.getExtensionList()) { if (provider instanceof PyOverridingModuleMembersProvider) { final PsiElement element = provider.resolveMember(module, name, resolveContext); if (element != null) { return element; } } } return null; }