Deprecated since 3.3. This method is deprecated in favour of path_stats(). You don’t have to implement it, but it is still available for compatibility purposes. Raise OSError if the path cannot be handled.
Return the (int) modification time for the path (str).