Skip to content

Commit 4e581d6

Browse files
closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110)
(cherry picked from commit 5371a46) Co-authored-by: Zackery Spytz <[email protected]>
1 parent 6ae6195 commit 4e581d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/py_compile.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ byte-code cache files in the directory containing the source code.
3535
in ``.pyc``.
3636
For example, if *file* is ``/foo/bar/baz.py`` *cfile* will default to
3737
``/foo/bar/__pycache__/baz.cpython-32.pyc`` for Python 3.2. If *dfile* is
38-
specified, it is used as the name of the source file in error messages when
38+
specified, it is used as the name of the source file in error messages
3939
instead of *file*. If *doraise* is true, a :exc:`PyCompileError` is raised
4040
when an error is encountered while compiling *file*. If *doraise* is false
4141
(the default), an error string is written to ``sys.stderr``, but no exception

0 commit comments

Comments
 (0)