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
410cb6be
Kaydet (Commit)
410cb6be
authored
Eki 05, 2000
tarafından
Neil Schemenauer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
The _PyTuple_Resize() last_is_sticky flag must now always be false.
üst
08b53e6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
api.tex
Doc/api/api.tex
+6
-6
No files found.
Doc/api/api.tex
Dosyayı görüntüle @
410cb6be
...
...
@@ -3070,12 +3070,12 @@ Can be used to resize a tuple. \var{newsize} will be the new length
of the tuple. Because tuples are
\emph
{
supposed
}
to be immutable,
this should only be used if there is only one reference to the object.
Do
\emph
{
not
}
use this if the tuple may already be known to some other
part of the code.
\var
{
last
_
is
_
sticky
}
is a flag --- if true, t
he
tuple will grow or shrink at the front, otherwise it will grow or
shrink at the end. Think of this as destroying the old tuple and
creating a new one, only more efficiently. Returns
\code
{
0
}
o
n
success and
\code
{
-1
}
on failure (in which case a
\exception
{
MemoryError
}
or
\exception
{
SystemError
}
will be
raised).
part of the code.
The tuple will always grow or shrink at the end. T
he
\var
{
last
_
is
_
sticky
}
flag is not used and should always be false. Think
of this as destroying the old tuple and creating a new one, only more
efficiently. Returns
\code
{
0
}
on success and
\code
{
-1
}
on failure (i
n
which case a
\exception
{
MemoryError
}
or
\exception
{
SystemError
}
will be
raised).
\end{cfuncdesc}
...
...
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