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
34d11f06
Kaydet (Commit)
34d11f06
authored
Mar 07, 2000
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed multi-arg appends.
üst
9de98831
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
15 additions
and
14 deletions
+15
-14
ICONbrowse.py
Mac/Demo/PICTbrowse/ICONbrowse.py
+1
-1
PICTbrowse.py
Mac/Demo/PICTbrowse/PICTbrowse.py
+1
-1
PICTbrowse2.py
Mac/Demo/PICTbrowse/PICTbrowse2.py
+1
-1
cicnbrowse.py
Mac/Demo/PICTbrowse/cicnbrowse.py
+1
-1
oldPICTbrowse.py
Mac/Demo/PICTbrowse/oldPICTbrowse.py
+1
-1
grail.py
Mac/Demo/speech/grail.py
+1
-1
FrameWork.py
Mac/Lib/FrameWork.py
+3
-2
PythonIDEMain.py
Mac/Tools/IDE/PythonIDEMain.py
+1
-1
Wbase.py
Mac/Tools/IDE/Wbase.py
+1
-1
mactwit_browser.py
Mac/Tools/twit/mactwit_browser.py
+2
-2
cfmfile.py
Mac/scripts/cfmfile.py
+1
-1
gensuitemodule.py
Mac/scripts/gensuitemodule.py
+1
-1
No files found.
Mac/Demo/PICTbrowse/ICONbrowse.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -70,7 +70,7 @@ class ICONbrowse(FrameWork.Application):
finally
:
Res
.
SetResLoad
(
1
)
id
,
type
,
name
=
r
.
GetResInfo
()
rv
.
append
(
id
,
name
)
rv
.
append
(
(
id
,
name
)
)
return
rv
class
ICONwindow
(
FrameWork
.
Window
):
...
...
Mac/Demo/PICTbrowse/PICTbrowse.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -65,7 +65,7 @@ class PICTbrowse(FrameWork.Application):
finally
:
Res
.
SetResLoad
(
1
)
id
,
type
,
name
=
r
.
GetResInfo
()
rv
.
append
(
id
,
name
)
rv
.
append
(
(
id
,
name
)
)
return
rv
class
PICTwindow
(
FrameWork
.
Window
):
...
...
Mac/Demo/PICTbrowse/PICTbrowse2.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -69,7 +69,7 @@ class PICTbrowse(FrameWork.Application):
finally
:
Res
.
SetResLoad
(
1
)
id
,
type
,
name
=
r
.
GetResInfo
()
rv
.
append
(
id
,
name
)
rv
.
append
(
(
id
,
name
)
)
return
rv
class
PICTwindow
(
FrameWork
.
Window
):
...
...
Mac/Demo/PICTbrowse/cicnbrowse.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -70,7 +70,7 @@ class CIconbrowse(FrameWork.Application):
finally
:
Res
.
SetResLoad
(
1
)
id
,
type
,
name
=
r
.
GetResInfo
()
rv
.
append
(
id
,
name
)
rv
.
append
(
(
id
,
name
)
)
return
rv
class
CIconwindow
(
FrameWork
.
Window
):
...
...
Mac/Demo/PICTbrowse/oldPICTbrowse.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -64,7 +64,7 @@ class PICTbrowse(FrameWork.Application):
finally
:
Res
.
SetResLoad
(
1
)
id
,
type
,
name
=
r
.
GetResInfo
()
rv
.
append
(
id
,
name
)
rv
.
append
(
(
id
,
name
)
)
return
rv
class
PICTwindow
(
FrameWork
.
Window
):
...
...
Mac/Demo/speech/grail.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -77,7 +77,7 @@ def readscript(file):
for
i
in
range
(
len
(
lines
)):
tp
,
data
=
parseline
(
lines
[
i
])
if
tp
==
NEWSCENE
:
acts
.
append
(
actor_dict
.
keys
(),
lines
[
prev_act
:
i
]
)
acts
.
append
(
(
actor_dict
.
keys
(),
lines
[
prev_act
:
i
])
)
prev_act
=
i
actor_dict
=
{}
elif
tp
==
TEXT
:
...
...
Mac/Lib/FrameWork.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -512,6 +512,7 @@ class Menu:
def
delete
(
self
):
self
.
bar
.
delmenu
(
self
.
id
)
del
self
.
bar
.
menus
[
self
.
id
]
self
.
menu
.
DisposeMenu
()
del
self
.
bar
del
self
.
items
del
self
.
menu
...
...
@@ -520,7 +521,7 @@ class Menu:
def
additem
(
self
,
label
,
shortcut
=
None
,
callback
=
None
,
kind
=
None
):
self
.
menu
.
AppendMenu
(
'x'
)
# add a dummy string
self
.
items
.
append
(
label
,
shortcut
,
callback
,
kind
)
self
.
items
.
append
(
(
label
,
shortcut
,
callback
,
kind
)
)
item
=
len
(
self
.
items
)
self
.
menu
.
SetMenuItemText
(
item
,
label
)
# set the actual text
if
shortcut
and
type
(
shortcut
)
==
type
(()):
...
...
@@ -547,7 +548,7 @@ class Menu:
def
addseparator
(
self
):
self
.
menu
.
AppendMenu
(
'(-'
)
self
.
items
.
append
(
''
,
None
,
None
,
'separator'
)
self
.
items
.
append
(
(
''
,
None
,
None
,
'separator'
)
)
def
addsubmenu
(
self
,
label
,
title
=
''
):
sub
=
Menu
(
self
.
bar
,
title
,
-
1
)
...
...
Mac/Tools/IDE/PythonIDEMain.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -204,7 +204,7 @@ class PythonIDE(Wapplication.Application):
title
=
window
.
GetWTitle
()
if
not
title
:
title
=
"<no title>"
windows
.
append
(
title
,
window
)
windows
.
append
(
(
title
,
window
)
)
windows
.
sort
()
for
title
,
window
in
windows
:
if
title
==
"Python Interactive"
:
# ugly but useful hack by Joe Strout
...
...
Mac/Tools/IDE/Wbase.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -490,7 +490,7 @@ class HorizontalPanes(Widget):
for
panesize
in
panesizes
:
if
current
:
self
.
_gutters
.
append
(
current
)
self
.
_panesizes
.
append
(
current
,
current
+
panesize
)
self
.
_panesizes
.
append
(
(
current
,
current
+
panesize
)
)
current
=
current
+
panesize
self
.
makepanebounds
()
...
...
Mac/Tools/twit/mactwit_browser.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -300,7 +300,7 @@ class VarBrowser(FrameWork.DialogWindow):
self
.
scroll
(
-
1
)
point
=
(
0
,
0
)
ok
,
point
=
self
.
lists
[
0
]
.
list
.
LGetSelect
(
1
,
point
)
self
.
leftover
.
append
(
point
,
self
.
lists
[
0
]
.
content
,
self
.
lists
[
0
]
.
title
,
self
.
lists
[
0
]
.
active
)
self
.
leftover
.
append
(
(
point
,
self
.
lists
[
0
]
.
content
,
self
.
lists
[
0
]
.
title
,
self
.
lists
[
0
]
.
active
)
)
for
i
in
range
(
len
(
self
.
lists
)
-
1
):
point
=
(
0
,
0
)
ok
,
point
=
self
.
lists
[
i
+
1
]
.
list
.
LGetSelect
(
1
,
point
)
...
...
@@ -331,7 +331,7 @@ class VarBrowser(FrameWork.DialogWindow):
if
self
.
lists
[
-
1
]
.
content
<>
None
:
point
=
(
0
,
0
)
ok
,
point
=
self
.
lists
[
-
1
]
.
list
.
LGetSelect
(
1
,
point
)
self
.
rightover
.
append
(
point
,
self
.
lists
[
-
1
]
.
content
,
self
.
lists
[
-
1
]
.
title
,
self
.
lists
[
-
1
]
.
active
)
self
.
rightover
.
append
(
(
point
,
self
.
lists
[
-
1
]
.
content
,
self
.
lists
[
-
1
]
.
title
,
self
.
lists
[
-
1
]
.
active
)
)
for
i
in
range
(
len
(
self
.
lists
)
-
1
,
0
,
-
1
):
point
=
(
0
,
0
)
ok
,
point
=
self
.
lists
[
i
-
1
]
.
list
.
LGetSelect
(
1
,
point
)
...
...
Mac/scripts/cfmfile.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -215,7 +215,7 @@ def mergecfmfiles(inputs, output):
if
(
tp
,
id
)
in
resources_done
:
continue
i
.
saveresto
(
tp
,
id
,
rfork
)
resources_done
.
append
(
tp
,
id
)
resources_done
.
append
(
(
tp
,
id
)
)
def
main
():
list
=
[]
...
...
Mac/scripts/gensuitemodule.py
Dosyayı görüntüle @
34d11f06
...
...
@@ -494,7 +494,7 @@ class ObjectCompiler:
if
not
name
:
self
.
fp
.
write
(
"# XXXX
%
s element
%
s not found!!
\n
"
%
(
cname
,
`ecode`
))
else
:
elist
.
append
(
name
,
ename
)
elist
.
append
(
(
name
,
ename
)
)
self
.
fp
.
write
(
"
%
s._propdict = {
\n
"
%
cname
)
for
n
in
plist
:
...
...
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