| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2936a14 commit 5079d5e
18 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "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" | ||
| 15 | 15 | "PO-Revision-Date: 2021-06-28 00:47+0000\n" | |
| 16 | 16 | "Last-Translator: Alireza Shabani (Revisto) <theRevisto@gmail.com>, 2025\n" | |
| 17 | 17 | "Language-Team: Persian (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -154,15 +154,29 @@ msgstr "" | |||
| 154 | 154 | ||
| 155 | 155 | #: ../../c-api/capsule.rst:108 | |
| 156 | 156 | msgid "" | |
| 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 "" | ||
| 157 | 163 | "Return the capsule's internal *pointer* on success. On failure, set an " | |
| 158 | 164 | "exception and return ``NULL``." | |
| 159 | 165 | msgstr "" | |
| 160 | 166 | ||
| 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 | ||
| 162 | 176 | msgid "*no_block* has no effect anymore." | |
| 163 | 177 | msgstr "" | |
| 164 | 178 | ||
| 165 | - #: ../../c-api/capsule.rst:117 | ||
| 179 | + #: ../../c-api/capsule.rst:127 | ||
| 166 | 180 | msgid "" | |
| 167 | 181 | "Determines whether or not *capsule* is a valid capsule. A valid capsule is " | |
| 168 | 182 | "non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` " | |
@@ -171,41 +185,41 @@ msgid "" | |||
| 171 | 185 | "compared.)" | |
| 172 | 186 | msgstr "" | |
| 173 | 187 | ||
| 174 | - #: ../../c-api/capsule.rst:123 | ||
| 188 | + #: ../../c-api/capsule.rst:133 | ||
| 175 | 189 | msgid "" | |
| 176 | 190 | "In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls " | |
| 177 | 191 | "to any of the accessors (any function starting with ``PyCapsule_Get``) are " | |
| 178 | 192 | "guaranteed to succeed." | |
| 179 | 193 | msgstr "" | |
| 180 | 194 | ||
| 181 | - #: ../../c-api/capsule.rst:127 | ||
| 195 | + #: ../../c-api/capsule.rst:137 | ||
| 182 | 196 | msgid "" | |
| 183 | 197 | "Return a nonzero value if the object is valid and matches the name passed " | |
| 184 | 198 | "in. Return ``0`` otherwise. This function will not fail." | |
| 185 | 199 | msgstr "" | |
| 186 | 200 | ||
| 187 | - #: ../../c-api/capsule.rst:133 | ||
| 201 | + #: ../../c-api/capsule.rst:143 | ||
| 188 | 202 | msgid "Set the context pointer inside *capsule* to *context*." | |
| 189 | 203 | msgstr "" | |
| 190 | 204 | ||
| 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 | ||
| 193 | 207 | msgid "" | |
| 194 | 208 | "Return ``0`` on success. Return nonzero and set an exception on failure." | |
| 195 | 209 | msgstr "" | |
| 196 | 210 | ||
| 197 | - #: ../../c-api/capsule.rst:140 | ||
| 211 | + #: ../../c-api/capsule.rst:150 | ||
| 198 | 212 | msgid "Set the destructor inside *capsule* to *destructor*." | |
| 199 | 213 | msgstr "" | |
| 200 | 214 | ||
| 201 | - #: ../../c-api/capsule.rst:147 | ||
| 215 | + #: ../../c-api/capsule.rst:157 | ||
| 202 | 216 | msgid "" | |
| 203 | 217 | "Set the name inside *capsule* to *name*. If non-``NULL``, the name must " | |
| 204 | 218 | "outlive the capsule. If the previous *name* stored in the capsule was not " | |
| 205 | 219 | "``NULL``, no attempt is made to free it." | |
| 206 | 220 | msgstr "" | |
| 207 | 221 | ||
| 208 | - #: ../../c-api/capsule.rst:156 | ||
| 222 | + #: ../../c-api/capsule.rst:166 | ||
| 209 | 223 | msgid "" | |
| 210 | 224 | "Set the void pointer inside *capsule* to *pointer*. The pointer may not be " | |
| 211 | 225 | "``NULL``." | |
| Back | FazBrowse Home | New Git URL |
0 commit comments