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
a93265a6
Kaydet (Commit)
a93265a6
authored
Agu 27, 1992
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
suppress unnecessary error message if too many arguments are passed
üst
a4311111
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modsupport.c
Python/modsupport.c
+5
-2
No files found.
Python/modsupport.c
Dosyayı görüntüle @
a93265a6
...
...
@@ -114,7 +114,7 @@ do_arg(arg, p_format, p_va)
switch
(
*
format
++
)
{
case
'('
/*')'*/
:
/* tuple, distributed over C parameters */
{
case
'('
:
/* tuple, distributed over C parameters */
{
int
i
,
n
;
if
(
!
is_tupleobject
(
arg
))
return
0
;
...
...
@@ -123,11 +123,14 @@ do_arg(arg, p_format, p_va)
if
(
!
do_arg
(
gettupleitem
(
arg
,
i
),
&
format
,
&
va
))
return
0
;
}
if
(
*
format
++
!=
/*'('*/
')'
)
if
(
*
format
++
!=
')'
)
return
0
;
break
;
}
case
')'
:
/* End of format -- too many arguments */
return
0
;
case
'b'
:
/* byte -- very short int */
{
char
*
p
=
va_arg
(
va
,
char
*
);
if
(
is_intobject
(
arg
))
...
...
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