MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _eq_mtime

Function _eq_mtime

tools/python-3.11.9-amd64/Lib/zipimport.py:633–635  ·  view source on GitHub ↗
(t1, t2)

Source from the content-addressed store, hash-verified

631# in the archive is lower than the mtime stored in a .pyc: we
632# must allow a difference of at most one second.
633def _eq_mtime(t1, t2):
634 # dostime only stores even seconds, so be lenient
635 return abs(t1 - t2) <= 1
636
637
638# Given the contents of a .py[co] file, unmarshal the data

Callers 1

_unmarshal_codeFunction · 0.85

Calls 1

absFunction · 0.70

Tested by

no test coverage detected