summaryrefslogtreecommitdiffstats
path: root/Lib/rexec.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/rexec.py')
-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: