diff --git a/docs/library/sys.rst b/docs/library/sys.rst index 80ac1ab84c..d36394c88c 100644 --- a/docs/library/sys.rst +++ b/docs/library/sys.rst @@ -115,6 +115,14 @@ Constants A mutable list of directories to search for imported modules. + .. admonition:: Difference to CPython + :class: attention + + On MicroPython, an entry with the value ``".frozen"`` will indicate that import + should search :term:`frozen modules ` at that point in the search. + If no frozen module is found then search will *not* look for a directory called + ``.frozen``, instead it will continue with the next entry in ``sys.path``. + .. data:: platform The platform that MicroPython is running on. For OS/RTOS ports, this is