Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
e09bd936
Kaydet (Commit)
e09bd936
authored
Agu 22, 2004
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Patch #997284: Allow pydoc to work with XP Themes (.manifest file)
Will backport to 2.3.
üst
ac37f3d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
pydoc.py
Lib/pydoc.py
+10
-2
No files found.
Lib/pydoc.py
Dosyayı görüntüle @
e09bd936
...
@@ -2124,8 +2124,16 @@ def gui():
...
@@ -2124,8 +2124,16 @@ def gui():
import
Tkinter
import
Tkinter
try
:
try
:
gui
=
GUI
(
Tkinter
.
Tk
())
root
=
Tkinter
.
Tk
()
Tkinter
.
mainloop
()
# 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
:
except
KeyboardInterrupt
:
pass
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