File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -687,15 +687,15 @@ writing it. At runtime, the import system then validates the cache file by
687
687
checking the stored metadata in the cache file against at source's
688
688
metadata.
689
689
690
- Python also supports "hash-based" cache files, which store a hash of a source
691
- file contents rather than its metadata. There are two variants of hash-based
690
+ Python also supports "hash-based" cache files, which store a hash of the source
691
+ file's contents rather than its metadata. There are two variants of hash-based
692
692
``.pyc `` files: checked and unchecked. For checked hash-based ``.pyc `` files,
693
693
Python validates the cache file by hashing the source file and comparing the
694
694
resulting hash with the hash in the cache file. If a checked hash-based cache
695
695
file is found to be invalid, Python regenerates it and writes a new checked
696
696
hash-based cache file. For unchecked hash-based ``.pyc `` files, Python simply
697
697
assumes the cache file is valid if it exists. Hash-based ``.pyc `` files
698
- validation behavior may be override with the :option: `--check-hash-based-pycs `
698
+ validation behavior may be overridden with the :option: `--check-hash-based-pycs `
699
699
flag.
700
700
701
701
.. versionchanged :: 3.7
You can’t perform that action at this time.
0 commit comments