PyDocs

Nav

Importing Modules

SourceLoader.path_stats

importlib.abc

method of SourceLoader · Added in 3.3 (source)
  • SourceLoader.path_stats(path)
Return a metadata dict for the source pointed to by the path (str).
Possible keys:
- 'mtime' (mandatory) is the numeric timestamp of last source
  code modification;
- 'size' (optional) is the size in bytes of the source code.
Changed in 3.4
  • 3.4: Raise OSError instead of NotImplementedError.
0 Examples
No examples for importlib.abc/SourceLoader.path_stats.
See Also
No see-alsos for importlib.abc/SourceLoader.path_stats
0 Notes
No notes for SourceLoader.path_stats