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
ef3b1fbb
Kaydet (Commit)
ef3b1fbb
authored
Eki 23, 2013
tarafından
Larry Hastings
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Two small, quick bugfixes for Argument Clinic.
üst
0db06a1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
clinic.py
Tools/clinic/clinic.py
+2
-2
No files found.
Tools/clinic/clinic.py
Dosyayı görüntüle @
ef3b1fbb
...
@@ -922,8 +922,8 @@ class BlockParser:
...
@@ -922,8 +922,8 @@ class BlockParser:
if
self
.
is_start_line
(
line
):
if
self
.
is_start_line
(
line
):
break
break
output
=
output_output
()
if
checksum
:
if
checksum
:
output
=
output_output
()
if
self
.
verify
:
if
self
.
verify
:
computed
=
compute_checksum
(
output
)
computed
=
compute_checksum
(
output
)
if
checksum
!=
computed
:
if
checksum
!=
computed
:
...
@@ -2054,7 +2054,7 @@ class DSLParser:
...
@@ -2054,7 +2054,7 @@ class DSLParser:
except
SyntaxError
:
except
SyntaxError
:
pass
pass
if
not
module
:
if
not
module
:
fail
(
"Function "
+
clinic
.
name
+
" has an invalid parameter declaration:
\n\t
"
+
line
)
fail
(
"Function "
+
self
.
function
.
name
+
" has an invalid parameter declaration:
\n\t
"
+
line
)
function_args
=
module
.
body
[
0
]
.
args
function_args
=
module
.
body
[
0
]
.
args
parameter
=
function_args
.
args
[
0
]
parameter
=
function_args
.
args
[
0
]
...
...
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