@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-06-20 14:21 +0000\n "
14+ "POT-Creation-Date : 2025-07-04 14:20 +0000\n "
1515"PO-Revision-Date : 2021-06-28 00:47+0000\n "
1616"Last-Translator : Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n "
1717"Language-Team : Persian (https://app.transifex.com/python-doc/teams/5390/ "
@@ -154,15 +154,29 @@ msgstr ""
154154
155155#: ../../c-api/capsule.rst:108
156156msgid ""
157+ "This function splits *name* on the ``.`` character, and imports the first "
158+ "element. It then processes further elements using attribute lookups."
159+ msgstr ""
160+
161+ #: ../../c-api/capsule.rst:111
162+ msgid ""
157163"Return the capsule's internal *pointer* on success. On failure, set an "
158164"exception and return ``NULL``."
159165msgstr ""
160166
161- #: ../../c-api/capsule.rst:111
167+ #: ../../c-api/capsule.rst:116
168+ msgid ""
169+ "If *name* points to an attribute of some submodule or subpackage, this "
170+ "submodule or subpackage must be previously imported using other means (for "
171+ "example, by using :c:func:`PyImport_ImportModule`) for the attribute lookups "
172+ "to succeed."
173+ msgstr ""
174+
175+ #: ../../c-api/capsule.rst:121
162176msgid "*no_block* has no effect anymore."
163177msgstr ""
164178
165- #: ../../c-api/capsule.rst:117
179+ #: ../../c-api/capsule.rst:127
166180msgid ""
167181"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
168182"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
@@ -171,41 +185,41 @@ msgid ""
171185"compared.)"
172186msgstr ""
173187
174- #: ../../c-api/capsule.rst:123
188+ #: ../../c-api/capsule.rst:133
175189msgid ""
176190"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
177191"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
178192"guaranteed to succeed."
179193msgstr ""
180194
181- #: ../../c-api/capsule.rst:127
195+ #: ../../c-api/capsule.rst:137
182196msgid ""
183197"Return a nonzero value if the object is valid and matches the name passed "
184198"in. Return ``0`` otherwise. This function will not fail."
185199msgstr ""
186200
187- #: ../../c-api/capsule.rst:133
201+ #: ../../c-api/capsule.rst:143
188202msgid "Set the context pointer inside *capsule* to *context*."
189203msgstr ""
190204
191- #: ../../c-api/capsule.rst:135 ../../c-api/capsule.rst:142
192- #: ../../c-api/capsule.rst:151 ../../c-api/capsule.rst:159
205+ #: ../../c-api/capsule.rst:145 ../../c-api/capsule.rst:152
206+ #: ../../c-api/capsule.rst:161 ../../c-api/capsule.rst:169
193207msgid ""
194208"Return ``0`` on success. Return nonzero and set an exception on failure."
195209msgstr ""
196210
197- #: ../../c-api/capsule.rst:140
211+ #: ../../c-api/capsule.rst:150
198212msgid "Set the destructor inside *capsule* to *destructor*."
199213msgstr ""
200214
201- #: ../../c-api/capsule.rst:147
215+ #: ../../c-api/capsule.rst:157
202216msgid ""
203217"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
204218"outlive the capsule. If the previous *name* stored in the capsule was not "
205219"``NULL``, no attempt is made to free it."
206220msgstr ""
207221
208- #: ../../c-api/capsule.rst:156
222+ #: ../../c-api/capsule.rst:166
209223msgid ""
210224"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
211225"``NULL``."
0 commit comments