Skip to content

Commit 651e40e

Browse files
Update Lib/importlib/abc.py
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 7079bdd commit 651e40e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/importlib/abc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,7 @@ def path_mtime(self, path):
211211
import warnings
212212
warnings.warn('SourceLoader.path_mtime is deprecated in favour of '
213213
'SourceLoader.path_stats().',
214-
DeprecationWarning,
215-
stacklevel=2)
214+
DeprecationWarning, stacklevel=2)
216215
if self.path_stats.__func__ is SourceLoader.path_stats:
217216
raise OSError
218217
return int(self.path_stats(path)['mtime'])

0 commit comments

Comments
 (0)