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
0156daba
Kaydet (Commit)
0156daba
authored
Ock 17, 2009
tarafından
Mark Dickinson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove attempted long->int conversions in py3k version of float.as_integer_ratio.
üst
bf5c6a97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
floatobject.c
Objects/floatobject.c
+0
-6
No files found.
Objects/floatobject.c
Dosyayı görüntüle @
0156daba
...
...
@@ -1495,12 +1495,6 @@ float_as_integer_ratio(PyObject *v, PyObject *unused)
py_exponent
=
NULL
;
}
/* Returns ints instead of longs where possible */
INPLACE_UPDATE
(
numerator
,
PyNumber_Int
(
numerator
));
if
(
numerator
==
NULL
)
goto
error
;
INPLACE_UPDATE
(
denominator
,
PyNumber_Int
(
denominator
));
if
(
denominator
==
NULL
)
goto
error
;
result_pair
=
PyTuple_Pack
(
2
,
numerator
,
denominator
);
#undef INPLACE_UPDATE
...
...
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