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
f8bcfb13
Kaydet (Commit)
f8bcfb13
authored
Ara 29, 2002
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF Bug 645777: list.extend() works with any iterable and is no longer
experimental.
üst
4643bd9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
libstdtypes.tex
Doc/lib/libstdtypes.tex
+1
-3
listobject.c
Objects/listobject.c
+1
-1
No files found.
Doc/lib/libstdtypes.tex
Dosyayı görüntüle @
f8bcfb13
...
...
@@ -946,9 +946,7 @@ Notes:
Use of this misfeature has been deprecated since Python 1.4,
and became an error with the introduction of Python 2.0.
\item
[(2)]
Raises an exception when
\var
{
x
}
is not a list object. The
\method
{
extend()
}
method is experimental and not supported by
mutable sequence types other than lists.
\item
[(2)]
Raises an exception when
\var
{
x
}
is not an iterable object.
\item
[(3)]
Raises
\exception
{
ValueError
}
when
\var
{
x
}
is not found in
\var
{
s
}
.
...
...
Objects/listobject.c
Dosyayı görüntüle @
f8bcfb13
...
...
@@ -2055,7 +2055,7 @@ list_nohash(PyObject *self)
PyDoc_STRVAR
(
append_doc
,
"L.append(object) -- append object to end"
);
PyDoc_STRVAR
(
extend_doc
,
"L.extend(
sequence) -- extend list by appending sequence elements
"
);
"L.extend(
iterable) -- extend list by appending elements from the iterable
"
);
PyDoc_STRVAR
(
insert_doc
,
"L.insert(index, object) -- insert object before index"
);
PyDoc_STRVAR
(
pop_doc
,
...
...
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