Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
97dbec97
Commit
97dbec97
authored
Aug 13, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant import (PyChecker).
Update greeting message to avoid the long copyright notice.
parent
4a5555b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Lib/rexec.py
Lib/rexec.py
+4
-2
No files found.
Lib/rexec.py
View file @
97dbec97
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment