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
855482e7
Kaydet (Commit)
855482e7
authored
May 23, 2015
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #24269: Minor doc fixups.
üst
5a694200
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
collections.rst
Doc/library/collections.rst
+6
-5
No files found.
Doc/library/collections.rst
Dosyayı görüntüle @
855482e7
...
@@ -387,7 +387,7 @@ or subtracting from an empty counter.
...
@@ -387,7 +387,7 @@ or subtracting from an empty counter.
Section 4.6.3, Exercise 19*.
Section 4.6.3, Exercise 19*.
* To enumerate all distinct multisets of a given size over a given set of
* To enumerate all distinct multisets of a given size over a given set of
elements, see :func:`itertools.combinations_with_replacement`
.
elements, see :func:`itertools.combinations_with_replacement`
:
map(Counter, combinations_with_replacement('ABC', 2)) --> AA AB AC BB BC CC
map(Counter, combinations_with_replacement('ABC', 2)) --> AA AB AC BB BC CC
...
@@ -464,10 +464,11 @@ or subtracting from an empty counter.
...
@@ -464,10 +464,11 @@ or subtracting from an empty counter.
elements in the iterable argument.
elements in the iterable argument.
.. method:: index(x[, start[,
end
]])
.. method:: index(x[, start[,
stop
]])
Return the position of *x* in the deque. Returns the first match
Return the position of *x* in the deque (at or after index *start*
or raises :exc:`ValueError` if not found.
and before index *stop*). Returns the first match or raises
:exc:`ValueError` if not found.
.. versionadded:: 3.5
.. versionadded:: 3.5
...
@@ -493,7 +494,7 @@ or subtracting from an empty counter.
...
@@ -493,7 +494,7 @@ or subtracting from an empty counter.
.. method:: remove(value)
.. method:: remove(value)
Remove
d
the first occurrence of *value*. If not found, raises a
Remove the first occurrence of *value*. If not found, raises a
:exc:`ValueError`.
:exc:`ValueError`.
...
...
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