Commit 97dbec97 authored by Guido van Rossum's avatar Guido van Rossum

Remove redundant import (PyChecker).

Update greeting message to avoid the long copyright notice.
parent 4a5555b1
...@@ -358,7 +358,7 @@ class RExec(ihooks._Verbose): ...@@ -358,7 +358,7 @@ class RExec(ihooks._Verbose):
def test(): def test():
import sys, getopt, traceback import getopt, traceback
opts, args = getopt.getopt(sys.argv[1:], 'vt:') opts, args = getopt.getopt(sys.argv[1:], 'vt:')
verbose = 0 verbose = 0
trusted = [] trusted = []
...@@ -384,7 +384,9 @@ def test(): ...@@ -384,7 +384,9 @@ def test():
return 1 return 1
if fp.isatty(): if fp.isatty():
print "*** RESTRICTED *** Python", sys.version print "*** RESTRICTED *** Python", sys.version
print sys.copyright print 'Type "help", "copyright", "credits" or "license" ' \
'for more information.'
while 1: while 1:
try: try:
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment