summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-09-06 03:47:17 (GMT)
committerGitHub <noreply@github.com>2020-09-06 03:47:17 (GMT)
commit4e581d64b8aff3e2eda99b12f080c877bb78dfca (patch)
tree00646da4f62560841e3ef0f67e195fa28d3ca9c9 /Doc
parent6ae61959ec51a6b3dddc8e665ce6a7b8aeb26c04 (diff)
downloadcpython-4e581d64b8aff3e2eda99b12f080c877bb78dfca.zip
cpython-4e581d64b8aff3e2eda99b12f080c877bb78dfca.tar.gz
cpython-4e581d64b8aff3e2eda99b12f080c877bb78dfca.tar.bz2
closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110)
(cherry picked from commit 5371a464ce88ffc88f3bb95cfd86f355b7d02953) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/py_compile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/py_compile.rst b/Doc/library/py_compile.rst
index a12a5bb..cac6dcb 100644
--- a/Doc/library/py_compile.rst
+++ b/Doc/library/py_compile.rst
@@ -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