-
-
Notifications
You must be signed in to change notification settings - Fork 263
Expand file tree
/
Copy pathcopyreg.po
More file actions
118 lines (105 loc) · 4.48 KB
/
copyreg.po
File metadata and controls
118 lines (105 loc) · 4.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Copyright (C) 2001-2018, Python Software Foundation
# For licence information, see README file.
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-23 14:38+0200\n"
"PO-Revision-Date: 2018-11-23 15:14+0100\n"
"Last-Translator: Jules Lasne <jules.lasne@gmail.com>\n"
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2\n"
#: library/copyreg.rst:2
msgid ":mod:`copyreg` --- Register :mod:`pickle` support functions"
msgstr ":mod:`copyreg` — Enregistre les fonctions support de :mod:`pickle`"
#: library/copyreg.rst:7
msgid "**Source code:** :source:`Lib/copyreg.py`"
msgstr "**Code source :** :source:`Lib/copyreg.py`"
#: 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 ""
"Le module :mod:`copyreg` permet de définir des fonctions utilisées durant la "
"sérialisation avec *pickle* de certains objets. Les modules :mod:`pickle` "
"et :mod:`copy` utilisent ces fonctions lors d'une sérialisation ou d'une "
"copie de ces objets. Le module propose alors des informations de "
"configuration à propos de constructeurs d'objets qui ne sont pas des "
"classes. De tels constructeurs peuvent être des instances de classes ou des "
"fonctions."
#: 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 ""
"Déclare *object* comme étant un constructeur valide. Si *object* n'est pas "
"appelable (et n'est donc pas un constructeur valide), l'erreur :exc:"
"`TypeError` est levée."
#: library/copyreg.rst:30
#, fuzzy
msgid ""
"Declares that *function* should be used as a \"reduction\" function for "
"objects of type *type*. *function* must return either a string or a tuple "
"containing between two and six elements. See the :attr:`~pickle.Pickler."
"dispatch_table` for more details on the interface of *function*."
msgstr ""
"Déclare que *function* devrait être utilisée en tant que fonction de "
"*réduction* pour des objets de type *type*. *function* doit soit renvoyer "
"une chaîne de caractères soit un *n*-uplet qui contient deux ou trois "
"éléments."
#: 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
#, fuzzy
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 ""
"Voir le module :mod:`pickle` pour plus de détails sur l'interface attendue "
"de *function* et *constructor*. Notez que l’attribut :attr:`~pickle.Pickler."
"dispatch_table` d'un objet ``pickler`` ou d'une sous-classe de :class:"
"`pickle.Pickler` peut aussi être utilisée pour déclarer des fonctions "
"réductrices."
#: library/copyreg.rst:43
msgid "Example"
msgstr "Exemple"
#: 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 ""
"L'exemple si-dessous essaye de démontrer comment enregistrer une fonction "
"*pickle* et comment elle sera utilisée :"
#: library/copyreg.rst:9
msgid "module"
msgstr ""
#: library/copyreg.rst:9
msgid "pickle"
msgstr ""
#: library/copyreg.rst:9
msgid "copy"
msgstr ""
#, fuzzy
#~ msgid ""
#~ "The optional *constructor* parameter, if provided, is a callable object "
#~ "which can be used to reconstruct the object when called with the tuple of "
#~ "arguments returned by *function* at pickling time. A :exc:`TypeError` is "
#~ "raised if the *constructor* is not callable."
#~ msgstr ""
#~ "Le paramètre optionnel *contructor*, s'il est donné, est un objet "
#~ "appelable qui peux être utilisé pour reconstruire l’objet lorsqu'il est "
#~ "appelé avec un *n*-uplet d'arguments renvoyés par *function* durant la "
#~ "sérialisation avec *pickle*. Une exception :exc:`TypeError` est levée si "
#~ "*object* est une classe ou si *constructor* n'est pas appelable."