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
b3955fe0
Kaydet (Commit)
b3955fe0
authored
Eyl 16, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #19029: Change non-existing since 3.0 StringType to str.
üst
c6ebbef6
975fce37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tix.py
Lib/tkinter/tix.py
+3
-3
No files found.
Lib/tkinter/tix.py
Dosyayı görüntüle @
b3955fe0
...
@@ -126,7 +126,7 @@ class tixCommand:
...
@@ -126,7 +126,7 @@ class tixCommand:
for
x
in
self
.
tk
.
split
(
self
.
tk
.
call
(
'tix'
,
'configure'
)):
for
x
in
self
.
tk
.
split
(
self
.
tk
.
call
(
'tix'
,
'configure'
)):
cnf
[
x
[
0
][
1
:]]
=
(
x
[
0
][
1
:],)
+
x
[
1
:]
cnf
[
x
[
0
][
1
:]]
=
(
x
[
0
][
1
:],)
+
x
[
1
:]
return
cnf
return
cnf
if
isinstance
(
cnf
,
StringType
):
if
isinstance
(
cnf
,
str
):
x
=
self
.
tk
.
split
(
self
.
tk
.
call
(
'tix'
,
'configure'
,
'-'
+
cnf
))
x
=
self
.
tk
.
split
(
self
.
tk
.
call
(
'tix'
,
'configure'
,
'-'
+
cnf
))
return
(
x
[
0
][
1
:],)
+
x
[
1
:]
return
(
x
[
0
][
1
:],)
+
x
[
1
:]
return
self
.
tk
.
call
((
'tix'
,
'configure'
)
+
self
.
_options
(
cnf
))
return
self
.
tk
.
call
((
'tix'
,
'configure'
)
+
self
.
_options
(
cnf
))
...
@@ -388,9 +388,9 @@ class TixWidget(tkinter.Widget):
...
@@ -388,9 +388,9 @@ class TixWidget(tkinter.Widget):
"""Set configuration options for all subwidgets (and self)."""
"""Set configuration options for all subwidgets (and self)."""
if
option
==
''
:
if
option
==
''
:
return
return
elif
not
isinstance
(
option
,
StringType
):
elif
not
isinstance
(
option
,
str
):
option
=
repr
(
option
)
option
=
repr
(
option
)
if
not
isinstance
(
value
,
StringType
):
if
not
isinstance
(
value
,
str
):
value
=
repr
(
value
)
value
=
repr
(
value
)
names
=
self
.
_subwidget_names
()
names
=
self
.
_subwidget_names
()
for
name
in
names
:
for
name
in
names
:
...
...
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