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
36d816b0
Kaydet (Commit)
36d816b0
authored
Ock 29, 2009
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update itertools.__doc__ to include all tools.
üst
6c832188
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
itertoolsmodule.c
Modules/itertoolsmodule.c
+12
-5
No files found.
Modules/itertoolsmodule.c
Dosyayı görüntüle @
36d816b0
...
...
@@ -3920,8 +3920,10 @@ cycle(p) --> p0, p1, ... plast, p0, p1, ...\n\
repeat(elem [,n]) --> elem, elem, elem, ... endlessly or up to n times
\n
\
\n
\
Iterators terminating on the shortest input sequence:
\n
\
izip(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ...
\n
\
izip_longest(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ...
\n
\
chain(p, q, ...) --> p0, p1, ... plast, q0, q1, ...
\n
\
combine(data, selectors) --> (d[0] if s[0]), (d[1] if s[1]), ...
\n
\
dropwhile(pred, seq) --> seq[n], seq[n+1], starting when pred fails
\n
\
groupby(iterable[, keyfunc]) --> sub-iterators grouped by value of keyfunc(v)
\n
\
ifilter(pred, seq) --> elements of seq where pred(elem) is True
\n
\
ifilterfalse(pred, seq) --> elements of seq where pred(elem) is False
\n
\
islice(seq, [start,] stop [, step]) --> elements from
\n
\
...
...
@@ -3929,10 +3931,15 @@ islice(seq, [start,] stop [, step]) --> elements from\n\
imap(fun, p, q, ...) --> fun(p0, q0), fun(p1, q1), ...
\n
\
starmap(fun, seq) --> fun(*seq[0]), fun(*seq[1]), ...
\n
\
tee(it, n=2) --> (it1, it2 , ... itn) splits one iterator into n
\n
\
chain(p, q, ...) --> p0, p1, ... plast, q0, q1, ...
\n
\
takewhile(pred, seq) --> seq[0], seq[1], until pred fails
\n
\
dropwhile(pred, seq) --> seq[n], seq[n+1], starting when pred fails
\n
\
groupby(iterable[, keyfunc]) --> sub-iterators grouped by value of keyfunc(v)
\n
\
izip(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ...
\n
\
izip_longest(p, q, ...) --> (p[0], q[0]), (p[1], q[1]), ...
\n
\
\n
\
Combinatoric generators:
\n
\
product(p, q, ... [repeat=1]) --> cartesian product
\n
\
permutations(p[, r])
\n
\
combinations(p[, r])
\n
\
combinations_with_replacement(p[, r])
\n
\
"
);
...
...
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