# Python Documentation Turkish Translation # Copyright (C) 2001-2023, Python Software Foundation # This file is distributed under the same license as the Python package. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-12-05 18:31+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: library/copyreg.rst:2 msgid ":mod:`copyreg` --- Register :mod:`pickle` support functions" msgstr "" #: library/copyreg.rst:7 msgid "**Source code:** :source:`Lib/copyreg.py`" msgstr "" #: library/copyreg.rst:15 msgid "" "The :mod:`copyreg` module offers a way to define functions used while " "pickling specific objects. The :mod:`pickle` and :mod:`copy` modules use " "those functions when pickling/copying those objects. The module provides " "configuration information about object constructors which are not classes. " "Such constructors may be factory functions or class instances." msgstr "" #: library/copyreg.rst:24 msgid "" "Declares *object* to be a valid constructor. If *object* is not callable " "(and hence not valid as a constructor), raises :exc:`TypeError`." msgstr "" #: library/copyreg.rst:30 msgid "" "Declares that *function* should be used as a \"reduction\" function for " "objects of type *type*. *function* should return either a string or a tuple " "containing two or three elements. See the :attr:`~pickle.Pickler." "dispatch_table` for more details on the interface of *function*." msgstr "" #: library/copyreg.rst:35 msgid "" "The *constructor_ob* parameter is a legacy feature and is now ignored, but " "if passed it must be a callable." msgstr "" #: library/copyreg.rst:38 msgid "" "Note that the :attr:`~pickle.Pickler.dispatch_table` attribute of a pickler " "object or subclass of :class:`pickle.Pickler` can also be used for declaring " "reduction functions." msgstr "" #: library/copyreg.rst:43 msgid "Example" msgstr "" #: library/copyreg.rst:45 msgid "" "The example below would like to show how to register a pickle function and " "how it will be used:" msgstr ""