mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix a comment to state the right thing.
This commit is contained in:
parent
26486ea29f
commit
e88e6ce8b7
1 changed files with 3 additions and 4 deletions
|
@ -153,10 +153,9 @@ class ImportTests(unittest.TestCase):
|
|||
f.write('"",\n')
|
||||
f.write(']')
|
||||
|
||||
# Compile & remove .py file, we only need .pyc (or .pyo), but that
|
||||
# must be relocated to the PEP 3147 bytecode-only location.
|
||||
with open(filename, 'r') as f:
|
||||
py_compile.compile(filename)
|
||||
# Compile & remove .py file; we only need .pyc (or .pyo).
|
||||
# Bytecode must be relocated from the PEP 3147 bytecode-only location.
|
||||
py_compile.compile(filename)
|
||||
unlink(filename)
|
||||
make_legacy_pyc(filename)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue