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
b825a393
Kaydet (Commit)
b825a393
authored
Şub 10, 2014
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #20167: Add missing else: break in 3 places as noticed by Serhiy.
üst
d8413bab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
MultiCall.py
Lib/idlelib/MultiCall.py
+6
-0
No files found.
Lib/idlelib/MultiCall.py
Dosyayı görüntüle @
b825a393
...
@@ -111,6 +111,8 @@ class _SimpleBinder:
...
@@ -111,6 +111,8 @@ class _SimpleBinder:
except
tkinter
.
TclError
as
e
:
except
tkinter
.
TclError
as
e
:
if
e
.
args
[
0
]
==
APPLICATION_GONE
:
if
e
.
args
[
0
]
==
APPLICATION_GONE
:
pass
pass
else
:
raise
# An int in range(1 << len(_modifiers)) represents a combination of modifiers
# An int in range(1 << len(_modifiers)) represents a combination of modifiers
# (if the least significent bit is on, _modifiers[0] is on, and so on).
# (if the least significent bit is on, _modifiers[0] is on, and so on).
...
@@ -244,6 +246,8 @@ class _ComplexBinder:
...
@@ -244,6 +246,8 @@ class _ComplexBinder:
except
tkinter
.
TclError
as
e
:
except
tkinter
.
TclError
as
e
:
if
e
.
args
[
0
]
==
APPLICATION_GONE
:
if
e
.
args
[
0
]
==
APPLICATION_GONE
:
break
break
else
:
raise
# define the list of event types to be handled by MultiEvent. the order is
# define the list of event types to be handled by MultiEvent. the order is
# compatible with the definition of event type constants.
# compatible with the definition of event type constants.
...
@@ -411,6 +415,8 @@ def MultiCallCreator(widget):
...
@@ -411,6 +415,8 @@ def MultiCallCreator(widget):
except
tkinter
.
TclError
as
e
:
except
tkinter
.
TclError
as
e
:
if
e
.
args
[
0
]
==
APPLICATION_GONE
:
if
e
.
args
[
0
]
==
APPLICATION_GONE
:
break
break
else
:
raise
_multicall_dict
[
widget
]
=
MultiCall
_multicall_dict
[
widget
]
=
MultiCall
return
MultiCall
return
MultiCall
...
...
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