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
f4d9caed
Kaydet (Commit)
f4d9caed
authored
Tem 14, 2007
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Backport 56345
üst
9c2d4dee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libitertools.tex
Doc/lib/libitertools.tex
+3
-3
No files found.
Doc/lib/libitertools.tex
Dosyayı görüntüle @
f4d9caed
...
...
@@ -117,7 +117,7 @@ by functions or loops that truncate the stream.
Make an iterator that drops elements from the iterable as long as
the predicate is true; afterwards, returns every element. Note,
the iterator does not produce
\emph
{
any
}
output until the predicate
is tru
e, so it may have a lengthy start-up time. Equivalent to:
first becomes fals
e, so it may have a lengthy start-up time. Equivalent to:
\begin{verbatim}
def dropwhile(predicate, iterable):
...
...
@@ -474,8 +474,8 @@ def iteritems(mapping):
return izip
(
mapping.iterkeys
()
, mapping.itervalues
())
def nth
(
iterable, n
)
:
"Returns the nth item or raise
IndexError
"
return
list
(
islice
(
iterable, n, n
+
1
))[
0
]
"Returns the nth item or raise
StopIteration
"
return
islice
(
iterable, n, None
)
.next
()
def all
(
seq, pred
=
None
)
:
"Returns True if pred
(
x
)
is true for every element in the iterable"
...
...
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