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
6a0a3684
Kaydet (Commit)
6a0a3684
authored
May 12, 2008
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix-up docs for the copyreg module renaming.
üst
7a148c23
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
9 deletions
+13
-9
copy.rst
Doc/library/copy.rst
+1
-1
copyreg.rst
Doc/library/copyreg.rst
+9
-5
persistence.rst
Doc/library/persistence.rst
+1
-1
pickle.rst
Doc/library/pickle.rst
+2
-2
No files found.
Doc/library/copy.rst
Dosyayı görüntüle @
6a0a3684
...
@@ -63,7 +63,7 @@ of lists by assigning a slice of the entire list, for example,
...
@@ -63,7 +63,7 @@ of lists by assigning a slice of the entire list, for example,
Classes can use the same interfaces to control copying that they use to control
Classes can use the same interfaces to control copying that they use to control
pickling. See the description of module :mod:`pickle` for information on these
pickling. See the description of module :mod:`pickle` for information on these
methods. The :mod:`copy` module does not use the :mod:`copy
_
reg` registration
methods. The :mod:`copy` module does not use the :mod:`copyreg` registration
module.
module.
.. index::
.. index::
...
...
Doc/library/copy
_
reg.rst
→
Doc/library/copyreg.rst
Dosyayı görüntüle @
6a0a3684
:mod:`copyreg` --- Register :mod:`pickle` support functions
:mod:`copy_reg` --- Register :mod:`pickle` support functions
===========================================================
============================================================
.. module:: copy_reg
.. module:: copy_reg
:synopsis: Old name for the copyreg module.
.. module:: copyreg
:synopsis: Register pickle support functions.
:synopsis: Register pickle support functions.
.. note::
.. note::
The :mod:`copy_reg` module has been renamed to `copyreg` in Python 3.0.
The :mod:`copy_reg` module has been renamed to :mod:`copyreg` in Python 3.0.
It is importable under both names in Python 2.6 and the rest of the 2.x
series.
.. index::
.. index::
module: pickle
module: pickle
module: cPickle
module: cPickle
module: copy
module: copy
The :mod:`copy
_
reg` module provides support for the :mod:`pickle` and
The :mod:`copyreg` module provides support for the :mod:`pickle` and
:mod:`cPickle` modules. The :mod:`copy` module is likely to use this in the
:mod:`cPickle` modules. The :mod:`copy` module is likely to use this in the
future as well. It provides configuration information about object constructors
future as well. It provides configuration information about object constructors
which are not classes. Such constructors may be factory functions or class
which are not classes. Such constructors may be factory functions or class
...
...
Doc/library/persistence.rst
Dosyayı görüntüle @
6a0a3684
...
@@ -19,7 +19,7 @@ The list of modules described in this chapter is:
...
@@ -19,7 +19,7 @@ The list of modules described in this chapter is:
.. toctree::
.. toctree::
pickle.rst
pickle.rst
copy
_
reg.rst
copyreg.rst
shelve.rst
shelve.rst
marshal.rst
marshal.rst
anydbm.rst
anydbm.rst
...
...
Doc/library/pickle.rst
Dosyayı görüntüle @
6a0a3684
...
@@ -535,7 +535,7 @@ not :meth:`__reduce_ex__`, the :meth:`__reduce_ex__` implementation detects this
...
@@ -535,7 +535,7 @@ not :meth:`__reduce_ex__`, the :meth:`__reduce_ex__` implementation detects this
and calls :meth:`__reduce__`.
and calls :meth:`__reduce__`.
An alternative to implementing a :meth:`__reduce__` method on the object to be
An alternative to implementing a :meth:`__reduce__` method on the object to be
pickled, is to register the callable with the :mod:`copy
_
reg` module. This
pickled, is to register the callable with the :mod:`copyreg` module. This
module provides a way for programs to register "reduction functions" and
module provides a way for programs to register "reduction functions" and
constructors for user-defined types. Reduction functions have the same
constructors for user-defined types. Reduction functions have the same
semantics and interface as the :meth:`__reduce__` method described above, except
semantics and interface as the :meth:`__reduce__` method described above, except
...
@@ -786,7 +786,7 @@ the same process or a new process. ::
...
@@ -786,7 +786,7 @@ the same process or a new process. ::
.. seealso::
.. seealso::
Module :mod:`copy
_
reg`
Module :mod:`copyreg`
Pickle interface constructor registration for extension types.
Pickle interface constructor registration for extension types.
Module :mod:`shelve`
Module :mod:`shelve`
...
...
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