closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110)

This commit is contained in:
Zackery Spytz 2020-09-05 21:39:23 -06:00 committed by GitHub
parent 2623868ede
commit 5371a464ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ byte-code cache files in the directory containing the source code.
in ``.pyc``. in ``.pyc``.
For example, if *file* is ``/foo/bar/baz.py`` *cfile* will default to 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 ``/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 instead of *file*. If *doraise* is true, a :exc:`PyCompileError` is raised
when an error is encountered while compiling *file*. If *doraise* is false 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 (the default), an error string is written to ``sys.stderr``, but no exception