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
b7f48e39
Kaydet (Commit)
b7f48e39
authored
Eki 08, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Change to always call list.append with a single argument.
üst
3c7739a7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fmt.py
Lib/fmt.py
+1
-1
fmt.py
Lib/lib-old/fmt.py
+1
-1
mutex.py
Lib/mutex.py
+1
-1
No files found.
Lib/fmt.py
Dosyayı görüntüle @
b7f48e39
...
...
@@ -335,7 +335,7 @@ closechar = \
{
'b'
:
'*'
,
'i'
:
'_'
,
'u'
:
'_'
,
'q'
:
'
\'
'
,
'B'
:
'*'
,
'I'
:
'_'
,
'U'
:
'_'
,
'Q'
:
'
\'
'
}
def
finalize
(
para
):
oldfont
=
curfont
=
'r'
para
.
words
.
append
(
'r'
,
''
,
0
,
0
,
0
,
0
)
# temporary, deleted at end
para
.
words
.
append
(
(
'r'
,
''
,
0
,
0
,
0
,
0
)
)
# temporary, deleted at end
for
i
in
range
(
len
(
para
.
words
)):
fo
,
te
,
wi
=
para
.
words
[
i
][:
3
]
if
fo
<>
None
:
curfont
=
fo
...
...
Lib/lib-old/fmt.py
Dosyayı görüntüle @
b7f48e39
...
...
@@ -335,7 +335,7 @@ closechar = \
{
'b'
:
'*'
,
'i'
:
'_'
,
'u'
:
'_'
,
'q'
:
'
\'
'
,
'B'
:
'*'
,
'I'
:
'_'
,
'U'
:
'_'
,
'Q'
:
'
\'
'
}
def
finalize
(
para
):
oldfont
=
curfont
=
'r'
para
.
words
.
append
(
'r'
,
''
,
0
,
0
,
0
,
0
)
# temporary, deleted at end
para
.
words
.
append
(
(
'r'
,
''
,
0
,
0
,
0
,
0
)
)
# temporary, deleted at end
for
i
in
range
(
len
(
para
.
words
)):
fo
,
te
,
wi
=
para
.
words
[
i
][:
3
]
if
fo
<>
None
:
curfont
=
fo
...
...
Lib/mutex.py
Dosyayı görüntüle @
b7f48e39
...
...
@@ -43,7 +43,7 @@ class mutex:
if
self
.
testandset
():
function
(
argument
)
else
:
self
.
queue
.
append
(
function
,
argument
)
self
.
queue
.
append
(
(
function
,
argument
)
)
#
# Unlock a mutex. If the queue is not empty, call the next
# function with its argument.
...
...
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