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
c1786ea1
Kaydet (Commit)
c1786ea1
authored
Agu 23, 2007
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use UTF-8 for a docstring that contains non-ASCII chars.
üst
10ab4aeb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
_heapqmodule.c
Modules/_heapqmodule.c
+4
-3
No files found.
Modules/_heapqmodule.c
Dosyayı görüntüle @
c1786ea1
...
...
@@ -515,7 +515,7 @@ maintains the heap invariant!\n");
PyDoc_STRVAR
(
__about__
,
"Heap queues
\n
\
\n
\
[explanation by Franois Pinard]
\n
\
[explanation by Fran
\xc3\xa7
ois Pinard]
\n
\
\n
\
Heaps are arrays for which a[k] <= a[2*k+1] and a[k] <= a[2*k+2] for
\n
\
all k, counting elements from 0. For the sake of comparison,
\n
\
...
...
@@ -609,11 +609,12 @@ From all times, sorting has always been a Great Art! :-)\n");
PyMODINIT_FUNC
init_heapq
(
void
)
{
PyObject
*
m
;
PyObject
*
m
,
*
about
;
m
=
Py_InitModule3
(
"_heapq"
,
heapq_methods
,
module_doc
);
if
(
m
==
NULL
)
return
;
PyModule_AddObject
(
m
,
"__about__"
,
PyString_FromString
(
__about__
));
about
=
PyUnicode_DecodeUTF8
(
__about__
,
strlen
(
__about__
),
NULL
);
PyModule_AddObject
(
m
,
"__about__"
,
about
);
}
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