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
28e83e3a
Kaydet (Commit)
28e83e3a
authored
Nis 15, 2003
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some errors from range() should be TypeError, not ValueError.
üst
b1ded1e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bltinmodule.c
Python/bltinmodule.c
+3
-3
No files found.
Python/bltinmodule.c
Dosyayı görüntüle @
28e83e3a
...
...
@@ -1367,21 +1367,21 @@ handle_range_longs(PyObject *self, PyObject *args)
}
if
(
!
PyInt_Check
(
ilow
)
&&
!
PyLong_Check
(
ilow
))
{
PyErr_Format
(
PyExc_
Valu
eError
,
PyErr_Format
(
PyExc_
Typ
eError
,
"integer start argument expected, got %s."
,
ilow
->
ob_type
->
tp_name
);
goto
Fail
;
}
if
(
!
PyInt_Check
(
ihigh
)
&&
!
PyLong_Check
(
ihigh
))
{
PyErr_Format
(
PyExc_
Valu
eError
,
PyErr_Format
(
PyExc_
Typ
eError
,
"integer end argument expected, got %s."
,
ihigh
->
ob_type
->
tp_name
);
goto
Fail
;
}
if
(
!
PyInt_Check
(
istep
)
&&
!
PyLong_Check
(
istep
))
{
PyErr_Format
(
PyExc_
Valu
eError
,
PyErr_Format
(
PyExc_
Typ
eError
,
"integer step argument expected, got %s."
,
istep
->
ob_type
->
tp_name
);
goto
Fail
;
...
...
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