5
5
msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
- "POT-Creation-Date : 2021-09-23 16:16+0200 \n "
8
+ "POT-Creation-Date : 2021-11-04 18:14+0100 \n "
9
9
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
10
10
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
11
11
"
Language-Team :
FRENCH <[email protected] >\n "
@@ -60,14 +60,31 @@ msgid ""
60
60
"initialized, it must call :c:func:`PyObject_GC_Track`."
61
61
msgstr ""
62
62
63
- #: c-api/gcsupport.rst:37
63
+ #: c-api/gcsupport.rst:36
64
+ msgid ""
65
+ "Similarly, the deallocator for the object must conform to a similar pair of "
66
+ "rules:"
67
+ msgstr ""
68
+
69
+ #: c-api/gcsupport.rst:39
70
+ msgid ""
71
+ "Before fields which refer to other containers are invalidated, :c:func:"
72
+ "`PyObject_GC_UnTrack` must be called."
73
+ msgstr ""
74
+
75
+ #: c-api/gcsupport.rst:42
76
+ msgid ""
77
+ "The object's memory must be deallocated using :c:func:`PyObject_GC_Del`."
78
+ msgstr ""
79
+
80
+ #: c-api/gcsupport.rst:45
64
81
msgid ""
65
82
"If a type adds the Py_TPFLAGS_HAVE_GC, then it *must* implement at least a :"
66
83
"c:member:`~PyTypeObject.tp_traverse` handler or explicitly use one from its "
67
84
"subclass or subclasses."
68
85
msgstr ""
69
86
70
- #: c-api/gcsupport.rst:41
87
+ #: c-api/gcsupport.rst:49
71
88
msgid ""
72
89
"When calling :c:func:`PyType_Ready` or some of the APIs that indirectly call "
73
90
"it like :c:func:`PyType_FromSpecWithBases` or :c:func:`PyType_FromSpec` the "
@@ -78,26 +95,26 @@ msgid ""
78
95
"include the :const:`Py_TPFLAGS_HAVE_GC` flag."
79
96
msgstr ""
80
97
81
- #: c-api/gcsupport.rst:51
98
+ #: c-api/gcsupport.rst:59
82
99
msgid ""
83
100
"Analogous to :c:func:`PyObject_New` but for container objects with the :"
84
101
"const:`Py_TPFLAGS_HAVE_GC` flag set."
85
102
msgstr ""
86
103
87
- #: c-api/gcsupport.rst:57
104
+ #: c-api/gcsupport.rst:65
88
105
msgid ""
89
106
"Analogous to :c:func:`PyObject_NewVar` but for container objects with the :"
90
107
"const:`Py_TPFLAGS_HAVE_GC` flag set."
91
108
msgstr ""
92
109
93
- #: c-api/gcsupport.rst:63
110
+ #: c-api/gcsupport.rst:71
94
111
msgid ""
95
112
"Resize an object allocated by :c:func:`PyObject_NewVar`. Returns the "
96
113
"resized object or ``NULL`` on failure. *op* must not be tracked by the "
97
114
"collector yet."
98
115
msgstr ""
99
116
100
- #: c-api/gcsupport.rst:69
117
+ #: c-api/gcsupport.rst:77
101
118
msgid ""
102
119
"Adds the object *op* to the set of container objects tracked by the "
103
120
"collector. The collector can run at unexpected times so objects must be "
@@ -106,55 +123,38 @@ msgid ""
106
123
"usually near the end of the constructor."
107
124
msgstr ""
108
125
109
- #: c-api/gcsupport.rst:78
126
+ #: c-api/gcsupport.rst:86
110
127
msgid ""
111
128
"Returns non-zero if the object implements the garbage collector protocol, "
112
129
"otherwise returns 0."
113
130
msgstr ""
114
131
115
- #: c-api/gcsupport.rst:81
132
+ #: c-api/gcsupport.rst:89
116
133
msgid ""
117
134
"The object cannot be tracked by the garbage collector if this function "
118
135
"returns 0."
119
136
msgstr ""
120
137
121
- #: c-api/gcsupport.rst:86
138
+ #: c-api/gcsupport.rst:94
122
139
msgid ""
123
140
"Returns 1 if the object type of *op* implements the GC protocol and *op* is "
124
141
"being currently tracked by the garbage collector and 0 otherwise."
125
142
msgstr ""
126
143
127
- #: c-api/gcsupport.rst:89
144
+ #: c-api/gcsupport.rst:97
128
145
msgid "This is analogous to the Python function :func:`gc.is_tracked`."
129
146
msgstr ""
130
147
131
- #: c-api/gcsupport.rst:96
148
+ #: c-api/gcsupport.rst:104
132
149
msgid ""
133
150
"Returns 1 if the object type of *op* implements the GC protocol and *op* has "
134
151
"been already finalized by the garbage collector and 0 otherwise."
135
152
msgstr ""
136
153
137
- #: c-api/gcsupport.rst:99
154
+ #: c-api/gcsupport.rst:107
138
155
msgid "This is analogous to the Python function :func:`gc.is_finalized`."
139
156
msgstr ""
140
157
141
- #: c-api/gcsupport.rst:103
142
- msgid ""
143
- "Similarly, the deallocator for the object must conform to a similar pair of "
144
- "rules:"
145
- msgstr ""
146
-
147
- #: c-api/gcsupport.rst:106
148
- msgid ""
149
- "Before fields which refer to other containers are invalidated, :c:func:"
150
- "`PyObject_GC_UnTrack` must be called."
151
- msgstr ""
152
-
153
- #: c-api/gcsupport.rst:109
154
- msgid ""
155
- "The object's memory must be deallocated using :c:func:`PyObject_GC_Del`."
156
- msgstr ""
157
-
158
158
#: c-api/gcsupport.rst:114
159
159
msgid ""
160
160
"Releases memory allocated to an object using :c:func:`PyObject_GC_New` or :c:"
0 commit comments