Files
openide/python/python-psi-impl/resources/intentionDescriptions/PyRelativeToAbsoluteImportIntention/description.html
Semyon Proshev cb8716794e Update python intentions' descriptions (PY-48274)
GitOrigin-RevId: 2bd596ec3f37c94303661b2aa416970aafc03ab6
2021-04-30 11:55:25 +00:00

13 lines
386 B
HTML

<html>
<body>
<span>
This intention replaces relative <code>from</code> import with an absolute one.
</span>
<br/>
<span>
Note that relative imports work only within the current source root. You cannot relatively
import a package from another source root. So, absolute imports are preferred
if the current location of the import statement may change.
</span>
</body>
</html>