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

(cherry picked from commit cb115e36e1)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
This commit is contained in:
Miss Skeleton (bot) 2020-10-21 01:57:37 -07:00 committed by GitHub
parent 03bfb07937
commit fcd776c6c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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