projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a5555b
)
Remove redundant import (PyChecker).
author
Guido van Rossum
<guido@python.org>
Mon, 13 Aug 2001 15:58:26 +0000
(15:58 +0000)
committer
Guido van Rossum
<guido@python.org>
Mon, 13 Aug 2001 15:58:26 +0000
(15:58 +0000)
Update greeting message to avoid the long copyright notice.
Lib/rexec.py
patch
|
blob
|
history
diff --git
a/Lib/rexec.py
b/Lib/rexec.py
index 90c8f6f95cbd6bfd3dd61ee669136ecc44a0563e..d1dd4ebf1bd1c4e446b80c401b836f1846dc8f82 100644
(file)
--- 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: