String () { PyFromImportStatement elt = PsiTreeUtil.getParentOfType(PyStarImportElementImpl.this, PyFromImportStatement.class); if (elt != null) { // always? who knows :) PyReferenceExpression imp_src = elt.getImportSource(); if (imp_src != null) { return PyPsiUtils.toPath(imp_src); } } return "<?>"; }