Like CHECKED_HASH, the .pyc file includes a hash of the source file content. However, Python will at runtime assume the .pyc file is up to date and not validate the .pyc against the source file at all.
py_compile/PycInvalidationMode.UNCHECKED_HASH
PycInvalidationMode.UNCHECKED_HASH