summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-13 15:58:26 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-13 15:58:26 (GMT)
commit97dbec97bc18b88e0380f683009f6827f836c630 (patch)
tree55ac1ac7515834a196382be83dad1ff121536fc2 /Lib
parent4a5555b19df364819aa1e3013e0e1701b8cde31a (diff)
downloadcpython-97dbec97bc18b88e0380f683009f6827f836c630.zip
cpython-97dbec97bc18b88e0380f683009f6827f836c630.tar.gz
cpython-97dbec97bc18b88e0380f683009f6827f836c630.tar.bz2
Remove redundant import (PyChecker).
Update greeting message to avoid the long copyright notice.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/rexec.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py
index 90c8f6f..d1dd4eb 100644
--- a/Lib/rexec.py
+++ b/Lib/rexec.py
@@ -358,7 +358,7 @@ class RExec(ihooks._Verbose):
def test():
- import sys, getopt, traceback
+ import getopt, traceback
opts, args = getopt.getopt(sys.argv[1:], 'vt:')
verbose = 0
trusted = []
@@ -384,7 +384,9 @@ def test():
return 1
if fp.isatty():
print "*** RESTRICTED *** Python", sys.version
- print sys.copyright
+ print 'Type "help", "copyright", "credits" or "license" ' \
+ 'for more information.'
+
while 1:
try:
try: