Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)

This commit is contained in:
Zackery Spytz 2020-10-21 02:36:03 -06:00 committed by GitHub
parent fb2e94692e
commit cb115e36e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ Here are the exact rules used:
Cached bytecode invalidation Cached bytecode invalidation
---------------------------- ----------------------------
Before Python loads cached bytecode from ``.pyc`` file, it checks whether the Before Python loads cached bytecode from a ``.pyc`` file, it checks whether the
cache is up-to-date with the source ``.py`` file. By default, Python does this cache is up-to-date with the source ``.py`` file. By default, Python does this
by storing the source's last-modified timestamp and size in the cache file when by storing the source's last-modified timestamp and size in the cache file when
writing it. At runtime, the import system then validates the cache file by writing it. At runtime, the import system then validates the cache file by