mirror of
https://github.com/python/cpython.git
synced 2025-08-26 11:45:20 +00:00
Fix more lingering print statements.
This commit is contained in:
parent
fd51975886
commit
b13c493ae5
3 changed files with 14 additions and 14 deletions
|
@ -7,15 +7,15 @@ import sys
|
|||
try:
|
||||
import os
|
||||
except:
|
||||
print """Could not import the standard "os" module.
|
||||
Please check your PYTHONPATH environment variable."""
|
||||
print("""Could not import the standard "os" module.
|
||||
Please check your PYTHONPATH environment variable.""")
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
import symbol
|
||||
except:
|
||||
print """Could not import the standard "symbol" module. If this is
|
||||
a PC, you should add the dos_8x3 directory to your PYTHONPATH."""
|
||||
print("""Could not import the standard "symbol" module. If this is
|
||||
a PC, you should add the dos_8x3 directory to your PYTHONPATH.""")
|
||||
sys.exit(1)
|
||||
|
||||
import os
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue