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
56616999
Kaydet (Commit)
56616999
authored
Haz 03, 2005
tarafından
Anthony Baxter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix object.__divmod__.__doc__
backport candidate
üst
e7fa1af8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
typeobject.c
Objects/typeobject.c
+8
-2
No files found.
Objects/typeobject.c
Dosyayı görüntüle @
56616999
...
...
@@ -4908,6 +4908,12 @@ typedef struct wrapperbase slotdef;
#define RBINSLOT(NAME, SLOT, FUNCTION, DOC) \
ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \
"x." NAME "(y) <==> y" DOC "x")
#define BINSLOTNOTINFIX(NAME, SLOT, FUNCTION, DOC) \
ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \
"x." NAME "(y) <==> " DOC)
#define RBINSLOTNOTINFIX(NAME, SLOT, FUNCTION, DOC) \
ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \
"x." NAME "(y) <==> " DOC)
static
slotdef
slotdefs
[]
=
{
SQSLOT
(
"__len__"
,
sq_length
,
slot_sq_length
,
wrap_inquiry
,
...
...
@@ -4976,9 +4982,9 @@ static slotdef slotdefs[] = {
"%"
),
RBINSLOT
(
"__rmod__"
,
nb_remainder
,
slot_nb_remainder
,
"%"
),
BINSLOT
(
"__divmod__"
,
nb_divmod
,
slot_nb_divmod
,
BINSLOT
NOTINFIX
(
"__divmod__"
,
nb_divmod
,
slot_nb_divmod
,
"divmod(x, y)"
),
RBINSLOT
(
"__rdivmod__"
,
nb_divmod
,
slot_nb_divmod
,
RBINSLOT
NOTINFIX
(
"__rdivmod__"
,
nb_divmod
,
slot_nb_divmod
,
"divmod(y, x)"
),
NBSLOT
(
"__pow__"
,
nb_power
,
slot_nb_power
,
wrap_ternaryfunc
,
"x.__pow__(y[, z]) <==> pow(x, y[, z])"
),
...
...
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