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
e09bd936
Commit
e09bd936
authored
Aug 22, 2004
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #997284: Allow pydoc to work with XP Themes (.manifest file)
Will backport to 2.3.
parent
ac37f3d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
Lib/pydoc.py
Lib/pydoc.py
+10
-2
No files found.
Lib/pydoc.py
View file @
e09bd936
...
...
@@ -2124,8 +2124,16 @@ def gui():
import
Tkinter
try
:
gui
=
GUI
(
Tkinter
.
Tk
())
Tkinter
.
mainloop
()
root
=
Tkinter
.
Tk
()
# Tk will crash if pythonw.exe has an XP .manifest
# file and the root has is not destroyed explicitly.
# If the problem is ever fixed in Tk, the explicit
# destroy can go.
try
:
gui
=
GUI
(
root
)
root
.
mainloop
()
finally
:
root
.
destroy
()
except
KeyboardInterrupt
:
pass
...
...
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