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
2f242582
Kaydet (Commit)
2f242582
authored
Ara 26, 1991
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use ImportError; New class syntax.
üst
9f7a956f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
DirList.py
Lib/lib-stdwin/DirList.py
+6
-6
DirList.py
Lib/stdwin/DirList.py
+6
-6
No files found.
Lib/lib-stdwin/DirList.py
Dosyayı görüntüle @
2f242582
...
...
@@ -5,7 +5,7 @@
try
:
import
posix
,
path
os
=
posix
except
Name
Error
:
except
Import
Error
:
import
mac
,
macpath
os
=
mac
path
=
macpath
...
...
@@ -16,7 +16,7 @@ from Buttons import PushButton
from
WindowParent
import
WindowParent
from
HVSplit
import
HSplit
,
VSplit
class
DirList
(
)
=
VSplit
(
):
class
DirList
(
VSplit
):
#
def
create
(
self
,
(
parent
,
dirname
)):
self
=
VSplit
.
create
(
self
,
parent
)
...
...
@@ -32,7 +32,7 @@ class DirList() = VSplit():
return
self
#
class
DirListWindow
(
)
=
WindowParent
(
):
class
DirListWindow
(
WindowParent
):
#
def
create
(
self
,
dirname
):
self
=
WindowParent
.
create
(
self
,
(
dirname
,
(
0
,
0
)))
...
...
@@ -41,7 +41,7 @@ class DirListWindow() = WindowParent():
return
self
#
class
SubdirButton
(
)
=
PushButton
(
):
class
SubdirButton
(
PushButton
):
#
def
drawpict
(
self
,
d
):
PushButton
.
drawpict
(
self
,
d
)
...
...
@@ -51,13 +51,13 @@ class SubdirButton() = PushButton():
window
=
DirListWindow
()
.
create
(
self
.
text
)
#
class
FileButton
(
)
=
PushButton
(
):
class
FileButton
(
PushButton
):
#
def
up_trigger
(
self
):
stdwin
.
fleep
()
#
class
ModuleButton
(
)
=
FileButton
(
):
class
ModuleButton
(
FileButton
):
#
def
drawpict
(
self
,
d
):
PushButton
.
drawpict
(
self
,
d
)
...
...
Lib/stdwin/DirList.py
Dosyayı görüntüle @
2f242582
...
...
@@ -5,7 +5,7 @@
try
:
import
posix
,
path
os
=
posix
except
Name
Error
:
except
Import
Error
:
import
mac
,
macpath
os
=
mac
path
=
macpath
...
...
@@ -16,7 +16,7 @@ from Buttons import PushButton
from
WindowParent
import
WindowParent
from
HVSplit
import
HSplit
,
VSplit
class
DirList
(
)
=
VSplit
(
):
class
DirList
(
VSplit
):
#
def
create
(
self
,
(
parent
,
dirname
)):
self
=
VSplit
.
create
(
self
,
parent
)
...
...
@@ -32,7 +32,7 @@ class DirList() = VSplit():
return
self
#
class
DirListWindow
(
)
=
WindowParent
(
):
class
DirListWindow
(
WindowParent
):
#
def
create
(
self
,
dirname
):
self
=
WindowParent
.
create
(
self
,
(
dirname
,
(
0
,
0
)))
...
...
@@ -41,7 +41,7 @@ class DirListWindow() = WindowParent():
return
self
#
class
SubdirButton
(
)
=
PushButton
(
):
class
SubdirButton
(
PushButton
):
#
def
drawpict
(
self
,
d
):
PushButton
.
drawpict
(
self
,
d
)
...
...
@@ -51,13 +51,13 @@ class SubdirButton() = PushButton():
window
=
DirListWindow
()
.
create
(
self
.
text
)
#
class
FileButton
(
)
=
PushButton
(
):
class
FileButton
(
PushButton
):
#
def
up_trigger
(
self
):
stdwin
.
fleep
()
#
class
ModuleButton
(
)
=
FileButton
(
):
class
ModuleButton
(
FileButton
):
#
def
drawpict
(
self
,
d
):
PushButton
.
drawpict
(
self
,
d
)
...
...
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