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
fde23a56
Commit
fde23a56
authored
May 19, 2003
by
Kurt B. Kaiser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Let Python inform the user what went wrong with the import.
Modified Files: idle idle.py idle.pyw
parent
3dcf2db8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Lib/idlelib/idle
Lib/idlelib/idle
+1
-1
Lib/idlelib/idle.py
Lib/idlelib/idle.py
+1
-1
Lib/idlelib/idle.pyw
Lib/idlelib/idle.pyw
+1
-1
No files found.
Lib/idlelib/idle
View file @
fde23a56
...
...
@@ -7,7 +7,7 @@ except ImportError:
try
:
import
PyShell
except
ImportError
:
print
"Can't locate PyShell.py"
raise
else
:
import
os
idledir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
PyShell
.
__file__
))
...
...
Lib/idlelib/idle.py
View file @
fde23a56
...
...
@@ -7,7 +7,7 @@ except ImportError:
try
:
import
PyShell
except
ImportError
:
print
"Can't locate PyShell.py"
raise
else
:
import
os
idledir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
PyShell
.
__file__
))
...
...
Lib/idlelib/idle.pyw
View file @
fde23a56
...
...
@@ -5,7 +5,7 @@ except ImportError:
try
:
import
PyShell
except
ImportError
:
print
"Can't locate PyShell.py"
raise
else
:
import
os
idledir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
PyShell
.
__file__
))
...
...
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