summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-21 08:46:22 (GMT)
committerGitHub <noreply@github.com>2020-10-21 08:46:22 (GMT)
commita8e6af798e6bfc0d9479a4d16e2bc8cc1a4ad283 (patch)
tree245ddc889f8911153a2dfc81086dc5c9c88cf9b7 /Doc/reference
parent62eb403ad5caa4b7cc2b105699373254b2908ebb (diff)
downloadcpython-a8e6af798e6bfc0d9479a4d16e2bc8cc1a4ad283.zip
cpython-a8e6af798e6bfc0d9479a4d16e2bc8cc1a4ad283.tar.gz
cpython-a8e6af798e6bfc0d9479a4d16e2bc8cc1a4ad283.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>
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/import.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
index ca23200..594bb78 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