From: Zackery Spytz Date: Wed, 21 Oct 2020 08:36:03 +0000 (-0600) Subject: Doc: Fix a typo/error in the docs for cached bytecode (GH-22445) X-Git-Tag: v3.10.0a2~122 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb115e36e1aba04b90b0ecac6f043e60064ac65b;p=thirdparty%2FPython%2Fcpython.git Doc: Fix a typo/error in the docs for cached bytecode (GH-22445) --- diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst index 4c36e15dc060..213b31487ac6 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