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
87298c4a
Kaydet (Commit)
87298c4a
authored
Eki 31, 2010
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No declarations in the middle of a block (fixes compile under Windows)
üst
4d807667
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
operator.c
Modules/operator.c
+3
-3
No files found.
Modules/operator.c
Dosyayı görüntüle @
87298c4a
...
@@ -428,15 +428,15 @@ attrgetter_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
...
@@ -428,15 +428,15 @@ attrgetter_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
}
else
{
/* make it a tuple of non-dotted attrnames */
}
else
{
/* make it a tuple of non-dotted attrnames */
PyObject
*
attr_chain
=
PyTuple_New
(
dot_count
+
1
);
PyObject
*
attr_chain
=
PyTuple_New
(
dot_count
+
1
);
PyObject
*
attr_chain_item
;
PyObject
*
attr_chain_item
;
Py_ssize_t
unibuff_from
=
0
;
Py_ssize_t
unibuff_till
=
0
;
Py_ssize_t
attr_chain_idx
=
0
;
if
(
attr_chain
==
NULL
)
{
if
(
attr_chain
==
NULL
)
{
Py_DECREF
(
attr
);
Py_DECREF
(
attr
);
return
NULL
;
return
NULL
;
}
}
Py_ssize_t
unibuff_from
=
0
;
Py_ssize_t
unibuff_till
=
0
;
Py_ssize_t
attr_chain_idx
=
0
;
for
(;
dot_count
>
0
;
--
dot_count
)
{
for
(;
dot_count
>
0
;
--
dot_count
)
{
while
(
item_buffer
[
unibuff_till
]
!=
(
Py_UNICODE
)
'.'
)
{
while
(
item_buffer
[
unibuff_till
]
!=
(
Py_UNICODE
)
'.'
)
{
++
unibuff_till
;
++
unibuff_till
;
...
...
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