We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ad36f9 commit d7c3e5fCopy full SHA for d7c3e5f
Lib/importlib/_bootstrap_external.py
@@ -785,15 +785,16 @@ class SourceLoader(_LoaderBasics):
785
786
def path_mtime(self, path):
787
"""Optional method that returns the modification time (an int) for the
788
- specified path, where path is a str.
+ specified path (a str).
789
790
Raises OSError when the path cannot be handled.
791
"""
792
raise OSError
793
794
def path_stats(self, path):
795
- """Optional method returning a metadata dict for the specified path
796
- to by the path (str).
+ """Optional method returning a metadata dict for the specified
+ path (a str).
797
+
798
Possible keys:
799
- 'mtime' (mandatory) is the numeric timestamp of last source
800
code modification;
0 commit comments