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
73d2da42
Kaydet (Commit)
73d2da42
authored
Nis 05, 2012
tarafından
Andrew Svetlov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge from 3.2
üst
e7eee01f
1024541a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
tabbedpages.py
Lib/idlelib/tabbedpages.py
+2
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/idlelib/tabbedpages.py
Dosyayı görüntüle @
73d2da42
...
...
@@ -78,7 +78,7 @@ class TabSet(Frame):
def
remove_tab
(
self
,
tab_name
):
"""Remove the tab named <tab_name>"""
if
not
tab_name
in
self
.
_tab_names
:
raise
KeyError
(
"No such Tab: '
%
s"
%
page
_name
)
raise
KeyError
(
"No such Tab: '
%
s"
%
tab
_name
)
self
.
_tab_names
.
remove
(
tab_name
)
self
.
_arrange_tabs
()
...
...
@@ -88,7 +88,7 @@ class TabSet(Frame):
if
tab_name
==
self
.
_selected_tab
:
return
if
tab_name
is
not
None
and
tab_name
not
in
self
.
_tabs
:
raise
KeyError
(
"No such Tab: '
%
s"
%
page
_name
)
raise
KeyError
(
"No such Tab: '
%
s"
%
tab
_name
)
# deselect the current selected tab
if
self
.
_selected_tab
is
not
None
:
...
...
Misc/NEWS
Dosyayı görüntüle @
73d2da42
...
...
@@ -19,6 +19,9 @@ Core and Builtins
Library
-------
- Issue #14496: Fix wrong name in idlelib/tabbedpages.py.
Patch by Popa Claudiu.
- Issue #3033: Add displayof parameter to tkinter font. Patch by Guilherme Polo.
- Issue #14482: Raise a ValueError, not a NameError, when trying to create
...
...
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