Skip to content

Commit fcd776c

Browse files
Doc: Fix a typo/error in the docs for cached bytecode (GH-22445)
(cherry picked from commit cb115e3) Co-authored-by: Zackery Spytz <[email protected]>
1 parent 03bfb07 commit fcd776c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/import.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ Here are the exact rules used:
680680
Cached bytecode invalidation
681681
----------------------------
682682

683-
Before Python loads cached bytecode from ``.pyc`` file, it checks whether the
683+
Before Python loads cached bytecode from a ``.pyc`` file, it checks whether the
684684
cache is up-to-date with the source ``.py`` file. By default, Python does this
685685
by storing the source's last-modified timestamp and size in the cache file when
686686
writing it. At runtime, the import system then validates the cache file by

0 commit comments

Comments
 (0)