diff --git a/Doc/library/linecache.rst b/Doc/library/linecache.rst index 88c6079a05b7fa..e766a9280946d3 100644 --- a/Doc/library/linecache.rst +++ b/Doc/library/linecache.rst @@ -30,6 +30,10 @@ The :mod:`linecache` module defines the following functions: .. index:: triple: module; search; path + If *filename* indicates a frozen module (starting with ``'') + and not filename.startswith('')): + if _source_unavailable(filename): return [] - fullname = filename + if filename.startswith('