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
a2876442
Kaydet (Commit)
a2876442
authored
Eyl 15, 2002
tarafından
Kurt B. Kaiser
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Merge Py Idle changes
Rev 1.13 (string methods)
üst
908aece9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
ClassBrowser.py
Lib/idlelib/ClassBrowser.py
+1
-2
ColorDelegator.py
Lib/idlelib/ColorDelegator.py
+1
-2
No files found.
Lib/idlelib/ClassBrowser.py
Dosyayı görüntüle @
a2876442
...
@@ -12,7 +12,6 @@ XXX TO DO:
...
@@ -12,7 +12,6 @@ XXX TO DO:
import
os
import
os
import
sys
import
sys
import
string
import
pyclbr
import
pyclbr
# XXX Patch pyclbr with dummies if it's vintage Python 1.5.2:
# XXX Patch pyclbr with dummies if it's vintage Python 1.5.2:
...
@@ -117,7 +116,7 @@ class ModuleBrowserTreeItem(TreeItem):
...
@@ -117,7 +116,7 @@ class ModuleBrowserTreeItem(TreeItem):
if
sup
.
module
!=
cl
.
module
:
if
sup
.
module
!=
cl
.
module
:
sname
=
"
%
s.
%
s"
%
(
sup
.
module
,
sname
)
sname
=
"
%
s.
%
s"
%
(
sup
.
module
,
sname
)
supers
.
append
(
sname
)
supers
.
append
(
sname
)
s
=
s
+
"(
%
s)"
%
string
.
join
(
supers
,
", "
)
s
=
s
+
"(
%
s)"
%
", "
.
join
(
supers
)
items
.
append
((
cl
.
lineno
,
s
))
items
.
append
((
cl
.
lineno
,
s
))
self
.
classes
[
s
]
=
cl
self
.
classes
[
s
]
=
cl
items
.
sort
()
items
.
sort
()
...
...
Lib/idlelib/ColorDelegator.py
Dosyayı görüntüle @
a2876442
import
time
import
time
import
string
import
re
import
re
import
keyword
import
keyword
from
Tkinter
import
*
from
Tkinter
import
*
...
@@ -14,7 +13,7 @@ DEBUG = 0
...
@@ -14,7 +13,7 @@ DEBUG = 0
def
any
(
name
,
list
):
def
any
(
name
,
list
):
return
"(?P<
%
s>"
%
name
+
string
.
join
(
list
,
"|"
)
+
")"
return
"(?P<
%
s>"
%
name
+
"|"
.
join
(
list
)
+
")"
def
make_pat
():
def
make_pat
():
kw
=
r"\b"
+
any
(
"KEYWORD"
,
keyword
.
kwlist
)
+
r"\b"
kw
=
r"\b"
+
any
(
"KEYWORD"
,
keyword
.
kwlist
)
+
r"\b"
...
...
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