]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 Oct 2020 08:46:22 +0000 (01:46 -0700)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 08:46:22 +0000 (01:46 -0700)
(cherry picked from commit cb115e36e1aba04b90b0ecac6f043e60064ac65b)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Doc/reference/import.rst

index ca232007dd7f0d553290d75716b0b8eef4e8f0a3..594bb78e9ecf65747df53c3d5713faaf3d450601 100644 (file)
@@ -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 ``.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