mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
fixed warning and error message
This commit is contained in:
parent
468f700af7
commit
1733c9362b
5 changed files with 5 additions and 5 deletions
|
@ -448,7 +448,7 @@ def byte_compile(py_files, optimize=0, force=0, prefix=None, base_dir=None,
|
|||
"""
|
||||
# nothing is done if sys.dont_write_bytecode is True
|
||||
if sys.dont_write_bytecode:
|
||||
raise DistutilsByteCompileError('byte-compiling not supported.')
|
||||
raise DistutilsByteCompileError('byte-compiling is disabled.')
|
||||
|
||||
# First, if the caller didn't force us into direct or indirect mode,
|
||||
# figure out which mode we should be in. We take a conservative
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue