]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110)
authorZackery Spytz <zspytz@gmail.com>
Sun, 6 Sep 2020 03:39:23 +0000 (21:39 -0600)
committerGitHub <noreply@github.com>
Sun, 6 Sep 2020 03:39:23 +0000 (22:39 -0500)
Doc/library/py_compile.rst

index 9b5c8ee645a386460c1ffc422381262b93f6eb41..4fba4cba4d3568edb284c933eec24b67fe8fa230 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