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
064a62bc
Kaydet (Commit)
064a62bc
authored
Tem 07, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
err() should be varargs -- and fix one call
üst
ef4ee62a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cgen.py
Modules/cgen.py
+3
-3
No files found.
Modules/cgen.py
Dosyayı görüntüle @
064a62bc
...
@@ -38,7 +38,7 @@ import sys
...
@@ -38,7 +38,7 @@ import sys
# Function to print to stderr
# Function to print to stderr
#
#
def
err
(
args
):
def
err
(
*
args
):
savestdout
=
sys
.
stdout
savestdout
=
sys
.
stdout
try
:
try
:
sys
.
stdout
=
sys
.
stderr
sys
.
stdout
=
sys
.
stderr
...
@@ -213,8 +213,8 @@ def generate(type, func, database):
...
@@ -213,8 +213,8 @@ def generate(type, func, database):
# Can't happen
# Can't happen
raise
arg_error
,
(
'bad a_mode'
,
a_mode
)
raise
arg_error
,
(
'bad a_mode'
,
a_mode
)
if
(
a_mode
==
'r'
and
a_sub
)
or
a_sub
==
'retval'
:
if
(
a_mode
==
'r'
and
a_sub
)
or
a_sub
==
'retval'
:
e
=
'Function'
,
func
,
'too complicated:'
e
rr
(
'Function'
,
func
,
'too complicated:'
,
err
(
e
+
(
a_type
,
a_mode
,
a_factor
,
a_sub
)
)
a_type
,
a_mode
,
a_factor
,
a_sub
)
print
'/* XXX Too complicated to generate code for */'
print
'/* XXX Too complicated to generate code for */'
return
return
#
#
...
...
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