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
da704856
Kaydet (Commit)
da704856
authored
Nis 12, 2002
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Give type name when complaining about using input-only type for output
or v.v.
üst
0036cbae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bgenType.py
Tools/bgen/bgen/bgenType.py
+2
-2
No files found.
Tools/bgen/bgen/bgenType.py
Dosyayı görüntüle @
da704856
...
...
@@ -115,7 +115,7 @@ class InputOnlyMixIn:
"Mix-in class to boobytrap passOutput"
def
passOutput
(
self
,
name
):
raise
RuntimeError
,
"
this type can only be used for input parameters"
raise
RuntimeError
,
"
Type '
%
s' can only be used for input parameters"
%
self
.
typeName
class
InputOnlyType
(
InputOnlyMixIn
,
Type
):
...
...
@@ -126,7 +126,7 @@ class OutputOnlyMixIn:
"Mix-in class to boobytrap passInput"
def
passInput
(
self
,
name
):
raise
RuntimeError
,
"
this type can only be used for output parameters"
raise
RuntimeError
,
"
Type '
%
s' can only be used for output parameters"
%
self
.
typeName
class
OutputOnlyType
(
OutputOnlyMixIn
,
Type
):
...
...
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