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
658d0ad9
Kaydet (Commit)
658d0ad9
authored
Eki 06, 2002
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Backport 1.36 documenting Py2.3's impending deprecation of the non-tuple
form.
üst
79c78f4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
libpickle.tex
Doc/lib/libpickle.tex
+8
-4
No files found.
Doc/lib/libpickle.tex
Dosyayı görüntüle @
658d0ad9
...
...
@@ -438,6 +438,7 @@ or three, with the following semantics:
by name.
\item
A tuple of arguments for the callable object, or
\code
{
None
}
.
\deprecated
{
2.3
}{
Use the tuple of arguments instead
}
\item
Optionally, the object's state, which will be passed to
the object's
\method
{__
setstate
__
()
}
method as described in
...
...
@@ -450,10 +451,13 @@ or three, with the following semantics:
Upon unpickling, the callable will be called (provided that it meets
the above criteria), passing in the tuple of arguments; it should
return the unpickled object. If the second item was
\code
{
None
}
, then
instead of calling the callable directly, its
\method
{__
basicnew
__
()
}
method is called without arguments. It should also return the
unpickled object.
return the unpickled object.
If the second item was
\code
{
None
}
, then instead of calling the
callable directly, its
\method
{__
basicnew
__
()
}
method is called
without arguments. It should also return the unpickled object.
\deprecated
{
2.3
}{
Use the tuple of arguments instead
}
An alternative to implementing a
\method
{__
reduce
__
()
}
method on the
object to be pickled, is to register the callable with the
...
...
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