diff options
author | Zackery Spytz <zspytz@gmail.com> | 2020-09-06 03:39:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 03:39:23 (GMT) |
commit | 5371a464ce88ffc88f3bb95cfd86f355b7d02953 (patch) | |
tree | a02bb051e2a9f0a479c3dfbd0cc91e79f0141dac | |
parent | 2623868ede4ef3c848fc83a9b1e19e0d031dee1d (diff) | |
download | cpython-5371a464ce88ffc88f3bb95cfd86f355b7d02953.zip cpython-5371a464ce88ffc88f3bb95cfd86f355b7d02953.tar.gz cpython-5371a464ce88ffc88f3bb95cfd86f355b7d02953.tar.bz2 |
closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110)
-rw-r--r-- | Doc/library/py_compile.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/py_compile.rst b/Doc/library/py_compile.rst index 9b5c8ee..4fba4cb 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 |