]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 6 Sep 2020 03:47:17 +0000 (20:47 -0700)
committerGitHub <noreply@github.com>
Sun, 6 Sep 2020 03:47:17 +0000 (20:47 -0700)
(cherry picked from commit 5371a464ce88ffc88f3bb95cfd86f355b7d02953)

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

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