55msgstr ""
66"Project-Id-Version : Python 3\n "
77"Report-Msgid-Bugs-To : \n "
8- "POT-Creation-Date : 2021-01-27 19:26 +0100\n "
8+ "POT-Creation-Date : 2022-03-23 18:39 +0100\n "
99"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1010"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1111"Language-Team : FRENCH <traductions@lists.afpy.org>\n "
@@ -139,18 +139,20 @@ msgid ""
139139"Import a pointer to a C object from a capsule attribute in a module. The "
140140"*name* parameter should specify the full name to the attribute, as in "
141141"``module.attribute``. The *name* stored in the capsule must match this "
142- "string exactly. If *no_block* is true, import the module without blocking "
143- "(using :c:func:`PyImport_ImportModuleNoBlock`). If *no_block* is false, "
144- "import the module conventionally (using :c:func:`PyImport_ImportModule`)."
142+ "string exactly."
145143msgstr ""
146144
147- #: c-api/capsule.rst:110
145+ #: c-api/capsule.rst:108
148146msgid ""
149147"Return the capsule's internal *pointer* on success. On failure, set an "
150148"exception and return ``NULL``."
151149msgstr ""
152150
153- #: c-api/capsule.rst:116
151+ #: c-api/capsule.rst:111
152+ msgid "*no_block* has no effect anymore."
153+ msgstr ""
154+
155+ #: c-api/capsule.rst:117
154156msgid ""
155157"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
156158"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
@@ -159,40 +161,40 @@ msgid ""
159161"compared.)"
160162msgstr ""
161163
162- #: c-api/capsule.rst:122
164+ #: c-api/capsule.rst:123
163165msgid ""
164166"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
165167"to any of the accessors (any function starting with :c:func:`PyCapsule_Get`) "
166168"are guaranteed to succeed."
167169msgstr ""
168170
169- #: c-api/capsule.rst:126
171+ #: c-api/capsule.rst:127
170172msgid ""
171173"Return a nonzero value if the object is valid and matches the name passed "
172174"in. Return ``0`` otherwise. This function will not fail."
173175msgstr ""
174176
175- #: c-api/capsule.rst:132
177+ #: c-api/capsule.rst:133
176178msgid "Set the context pointer inside *capsule* to *context*."
177179msgstr ""
178180
179- #: c-api/capsule.rst:141 c-api/capsule.rst:158
181+ #: c-api/capsule.rst:142 c-api/capsule.rst:159
180182msgid ""
181183"Return ``0`` on success. Return nonzero and set an exception on failure."
182184msgstr ""
183185
184- #: c-api/capsule.rst:139
186+ #: c-api/capsule.rst:140
185187msgid "Set the destructor inside *capsule* to *destructor*."
186188msgstr ""
187189
188- #: c-api/capsule.rst:146
190+ #: c-api/capsule.rst:147
189191msgid ""
190192"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
191193"outlive the capsule. If the previous *name* stored in the capsule was not "
192194"``NULL``, no attempt is made to free it."
193195msgstr ""
194196
195- #: c-api/capsule.rst:155
197+ #: c-api/capsule.rst:156
196198msgid ""
197199"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
198200"``NULL``."
0 commit comments