diff options
author | Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-10-21 08:57:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 08:57:37 (GMT) |
commit | fcd776c6c201fa21e2596394bc9da296fb70f630 (patch) | |
tree | 089968d3cae0e101c8e5c8eb4ce5faf500d96126 | |
parent | 03bfb07937cbb91f3dcdbc5f6f644b481e331a49 (diff) | |
download | cpython-fcd776c6c201fa21e2596394bc9da296fb70f630.zip cpython-fcd776c6c201fa21e2596394bc9da296fb70f630.tar.gz cpython-fcd776c6c201fa21e2596394bc9da296fb70f630.tar.bz2 |
Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)
(cherry picked from commit cb115e36e1aba04b90b0ecac6f043e60064ac65b)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-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 4c36e15..213b314 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 |