Clarify optional parts in remappings

This commit is contained in:
Kamil Śliwak
2021-07-30 12:30:17 +02:00
committed by Leo Alt
parent 5ff0811b99
commit c6fc9934fa
+2 -1
View File
@@ -464,7 +464,8 @@ Here are the detailed rules governing the behaviour of remappings:
#. **Prefix cannot be empty but context and target are optional.**
If ``target`` is omitted, it defaults to the value of the ``prefix``.
- If ``target`` is the empty string, ``prefix`` is simply removed from import paths.
- Empty ``context`` means that the remapping applies to all imports in all source units.
.. index:: Remix IDE, file://