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
c95cc874
Kaydet (Commit)
c95cc874
authored
Nis 25, 2002
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up the layout of the bool_as_number struct initializer.
üst
4aab68e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
38 deletions
+38
-38
boolobject.c
Objects/boolobject.c
+38
-38
No files found.
Objects/boolobject.c
Dosyayı görüntüle @
c95cc874
...
...
@@ -103,44 +103,44 @@ The class bool is a subclass of the class int, and cannot be subclassed.";
/* Arithmetic methods -- only so we can override &, |, ^. */
static
PyNumberMethods
bool_as_number
=
{
0
,
/*nb_add
*/
0
,
/*nb_subtract
*/
0
,
/*nb_multiply
*/
0
,
/*nb_divide
*/
0
,
/*nb_remainder
*/
0
,
/*nb_divmod
*/
0
,
/*nb_power
*/
0
,
/*nb_negative
*/
0
,
/*nb_positive
*/
0
,
/*nb_absolute
*/
0
,
/*nb_nonzero
*/
0
,
/*nb_invert
*/
0
,
/*nb_lshift
*/
0
,
/*nb_rshift
*/
(
binaryfunc
)
bool_and
,
/*nb_and
*/
(
binaryfunc
)
bool_xor
,
/*nb_xor
*/
(
binaryfunc
)
bool_or
,
/*nb_or
*/
0
,
/*nb_coerce
*/
0
,
/*nb_int
*/
0
,
/*nb_long
*/
0
,
/*nb_float
*/
0
,
/*nb_oct
*/
0
,
/*nb_hex
*/
0
,
/*nb_inplace_add
*/
0
,
/*nb_inplace_subtract
*/
0
,
/*nb_inplace_multiply
*/
0
,
/*nb_inplace_divide
*/
0
,
/*nb_inplace_remainder
*/
0
,
/*nb_inplace_power
*/
0
,
/*nb_inplace_lshift
*/
0
,
/*nb_inplace_rshift
*/
0
,
/*nb_inplace_and
*/
0
,
/*nb_inplace_xor
*/
0
,
/*nb_inplace_or
*/
0
,
/* nb_floor_divide */
0
,
/* nb_true_divide */
0
,
/* nb_inplace_floor_divide */
0
,
/* nb_inplace_true_divide */
0
,
/* nb_add
*/
0
,
/* nb_subtract
*/
0
,
/* nb_multiply
*/
0
,
/* nb_divide
*/
0
,
/* nb_remainder
*/
0
,
/* nb_divmod
*/
0
,
/* nb_power
*/
0
,
/* nb_negative
*/
0
,
/* nb_positive
*/
0
,
/* nb_absolute
*/
0
,
/* nb_nonzero
*/
0
,
/* nb_invert
*/
0
,
/* nb_lshift
*/
0
,
/* nb_rshift
*/
(
binaryfunc
)
bool_and
,
/* nb_and
*/
(
binaryfunc
)
bool_xor
,
/* nb_xor
*/
(
binaryfunc
)
bool_or
,
/* nb_or
*/
0
,
/* nb_coerce
*/
0
,
/* nb_int
*/
0
,
/* nb_long
*/
0
,
/* nb_float
*/
0
,
/* nb_oct
*/
0
,
/* nb_hex
*/
0
,
/* nb_inplace_add
*/
0
,
/* nb_inplace_subtract
*/
0
,
/* nb_inplace_multiply
*/
0
,
/* nb_inplace_divide
*/
0
,
/* nb_inplace_remainder
*/
0
,
/* nb_inplace_power
*/
0
,
/* nb_inplace_lshift
*/
0
,
/* nb_inplace_rshift
*/
0
,
/* nb_inplace_and
*/
0
,
/* nb_inplace_xor
*/
0
,
/* nb_inplace_or
*/
0
,
/* nb_floor_divide */
0
,
/* nb_true_divide */
0
,
/* nb_inplace_floor_divide */
0
,
/* nb_inplace_true_divide */
};
/* The type object for bool. Note that this cannot be subclassed! */
...
...
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