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
dc3372e9
Kaydet (Commit)
dc3372e9
authored
Eyl 18, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
new exec syntax
üst
aada0d51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
panel.py
Lib/irix5/panel.py
+3
-3
panel.py
Lib/plat-irix5/panel.py
+3
-3
No files found.
Lib/irix5/panel.py
Dosyayı görüntüle @
dc3372e9
...
...
@@ -130,7 +130,7 @@ def assign_members(target, attrlist, exclist, prefix):
stmt
=
lhs
+
'='
+
`value`
if
debug
:
print
'exec'
,
stmt
try
:
exec
(
stmt
+
'
\n
'
)
exec
stmt
+
'
\n
'
except
KeyboardInterrupt
:
# Don't catch this!
raise
KeyboardInterrupt
except
:
...
...
@@ -186,7 +186,7 @@ def build_subactuators(panel, super_act, al):
if
name
:
stmt
=
'panel.'
+
name
+
' = act'
if
debug
:
print
'exec'
,
stmt
exec
(
stmt
+
'
\n
'
)
exec
stmt
+
'
\n
'
if
is_endgroup
(
a
):
panel
.
endgroup
()
sub_al
=
getattrlist
(
a
,
'al'
)
...
...
@@ -236,7 +236,7 @@ def build_panel(descr):
act
.
addact
(
panel
)
if
name
:
stmt
=
'panel.'
+
name
+
' = act'
exec
(
stmt
+
'
\n
'
)
exec
stmt
+
'
\n
'
if
is_endgroup
(
a
):
panel
.
endgroup
()
sub_al
=
getattrlist
(
a
,
'al'
)
...
...
Lib/plat-irix5/panel.py
Dosyayı görüntüle @
dc3372e9
...
...
@@ -130,7 +130,7 @@ def assign_members(target, attrlist, exclist, prefix):
stmt
=
lhs
+
'='
+
`value`
if
debug
:
print
'exec'
,
stmt
try
:
exec
(
stmt
+
'
\n
'
)
exec
stmt
+
'
\n
'
except
KeyboardInterrupt
:
# Don't catch this!
raise
KeyboardInterrupt
except
:
...
...
@@ -186,7 +186,7 @@ def build_subactuators(panel, super_act, al):
if
name
:
stmt
=
'panel.'
+
name
+
' = act'
if
debug
:
print
'exec'
,
stmt
exec
(
stmt
+
'
\n
'
)
exec
stmt
+
'
\n
'
if
is_endgroup
(
a
):
panel
.
endgroup
()
sub_al
=
getattrlist
(
a
,
'al'
)
...
...
@@ -236,7 +236,7 @@ def build_panel(descr):
act
.
addact
(
panel
)
if
name
:
stmt
=
'panel.'
+
name
+
' = act'
exec
(
stmt
+
'
\n
'
)
exec
stmt
+
'
\n
'
if
is_endgroup
(
a
):
panel
.
endgroup
()
sub_al
=
getattrlist
(
a
,
'al'
)
...
...
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