mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Remove redundant import (PyChecker).
Update greeting message to avoid the long copyright notice.
This commit is contained in:
parent
4a5555b19d
commit
97dbec97bc
1 changed files with 4 additions and 2 deletions
|
@ -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():
|
||||||
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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue