[Python-checkins] Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)
miss-islington
webhook-mailer at python.org
Wed Oct 21 04:46:34 EDT 2020
https://github.com/python/cpython/commit/a8e6af798e6bfc0d9479a4d16e2bc8cc1a4ad283
commit: a8e6af798e6bfc0d9479a4d16e2bc8cc1a4ad283
branch: 3.8
author: Miss Skeleton (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-10-21T01:46:22-07:00
summary:
Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)
(cherry picked from commit cb115e36e1aba04b90b0ecac6f043e60064ac65b)
Co-authored-by: Zackery Spytz <zspytz at gmail.com>
files:
M Doc/reference/import.rst
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
index ca232007dd7f0..594bb78e9ecf6 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
More information about the Python-checkins
mailing list