diff options
author | Zackery Spytz <zspytz@gmail.com> | 2020-10-21 02:36:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 17:36:03 +0900 |
commit | cb115e36e1aba04b90b0ecac6f043e60064ac65b (patch) | |
tree | 7f0aa679530e37c6b91e61b563c7f0c2210ccd0f | |
parent | fb2e94692e3a8eb66915575f4a122d56fe8999a0 (diff) | |
download | cpython-git-cb115e36e1aba04b90b0ecac6f043e60064ac65b.tar.gz |
Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)
-rw-r--r-- | Doc/reference/import.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst index 4c36e15dc0..213b31487a 100644 --- a/Doc/reference/import.rst +++ b/Doc/reference/import.rst @@ -680,7 +680,7 @@ Here are the exact rules used: 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 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 |