|
8 | 8 | msgstr ""
|
9 | 9 | "Project-Id-Version: Python 3.12\n"
|
10 | 10 | "Report-Msgid-Bugs-To: \n"
|
11 |
| -"POT-Creation-Date: 2025-01-02 07:37+0000\n" |
| 11 | +"POT-Creation-Date: 2025-01-04 21:16+0000\n" |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 | 14 | " Language-Team: LANGUAGE <[email protected]>\n"
|
@@ -247,54 +247,58 @@ msgid "Remove the mapping for the object *key* from the object *o*. Return ``-1
|
247 | 247 | msgstr ""
|
248 | 248 |
|
249 | 249 | #: ../../c-api/object.rst:398
|
| 250 | +msgid "This is the same as :c:func:`PyObject_DelItem`, but *key* is specified as a :c:expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:`PyObject*`." |
| 251 | +msgstr "" |
| 252 | + |
| 253 | +#: ../../c-api/object.rst:405 |
250 | 254 | msgid "This is equivalent to the Python expression ``dir(o)``, returning a (possibly empty) list of strings appropriate for the object argument, or ``NULL`` if there was an error. If the argument is ``NULL``, this is like the Python ``dir()``, returning the names of the current locals; in this case, if no execution frame is active then ``NULL`` is returned but :c:func:`PyErr_Occurred` will return false."
|
251 | 255 | msgstr ""
|
252 | 256 |
|
253 |
| -#: ../../c-api/object.rst:407 |
| 257 | +#: ../../c-api/object.rst:414 |
254 | 258 | msgid "This is equivalent to the Python expression ``iter(o)``. It returns a new iterator for the object argument, or the object itself if the object is already an iterator. Raises :exc:`TypeError` and returns ``NULL`` if the object cannot be iterated."
|
255 | 259 | msgstr ""
|
256 | 260 |
|
257 |
| -#: ../../c-api/object.rst:415 |
| 261 | +#: ../../c-api/object.rst:422 |
258 | 262 | msgid "This is equivalent to the Python ``__iter__(self): return self`` method. It is intended for :term:`iterator` types, to be used in the :c:member:`PyTypeObject.tp_iter` slot."
|
259 | 263 | msgstr ""
|
260 | 264 |
|
261 |
| -#: ../../c-api/object.rst:421 |
| 265 | +#: ../../c-api/object.rst:428 |
262 | 266 | msgid "This is the equivalent to the Python expression ``aiter(o)``. Takes an :class:`AsyncIterable` object and returns an :class:`AsyncIterator` for it. This is typically a new iterator but if the argument is an :class:`AsyncIterator`, this returns itself. Raises :exc:`TypeError` and returns ``NULL`` if the object cannot be iterated."
|
263 | 267 | msgstr ""
|
264 | 268 |
|
265 |
| -#: ../../c-api/object.rst:431 |
| 269 | +#: ../../c-api/object.rst:438 |
266 | 270 | msgid "Get a pointer to subclass-specific data reserved for *cls*."
|
267 | 271 | msgstr ""
|
268 | 272 |
|
269 |
| -#: ../../c-api/object.rst:433 |
| 273 | +#: ../../c-api/object.rst:440 |
270 | 274 | msgid "The object *o* must be an instance of *cls*, and *cls* must have been created using negative :c:member:`PyType_Spec.basicsize`. Python does not check this."
|
271 | 275 | msgstr ""
|
272 | 276 |
|
273 |
| -#: ../../c-api/object.rst:437 |
| 277 | +#: ../../c-api/object.rst:444 |
274 | 278 | msgid "On error, set an exception and return ``NULL``."
|
275 | 279 | msgstr ""
|
276 | 280 |
|
277 |
| -#: ../../c-api/object.rst:443 |
| 281 | +#: ../../c-api/object.rst:450 |
278 | 282 | msgid "Return the size of the instance memory space reserved for *cls*, i.e. the size of the memory :c:func:`PyObject_GetTypeData` returns."
|
279 | 283 | msgstr ""
|
280 | 284 |
|
281 |
| -#: ../../c-api/object.rst:446 |
| 285 | +#: ../../c-api/object.rst:453 |
282 | 286 | msgid "This may be larger than requested using :c:member:`-PyType_Spec.basicsize <PyType_Spec.basicsize>`; it is safe to use this larger size (e.g. with :c:func:`!memset`)."
|
283 | 287 | msgstr ""
|
284 | 288 |
|
285 |
| -#: ../../c-api/object.rst:449 |
| 289 | +#: ../../c-api/object.rst:456 |
286 | 290 | msgid "The type *cls* **must** have been created using negative :c:member:`PyType_Spec.basicsize`. Python does not check this."
|
287 | 291 | msgstr ""
|
288 | 292 |
|
289 |
| -#: ../../c-api/object.rst:453 |
| 293 | +#: ../../c-api/object.rst:460 |
290 | 294 | msgid "On error, set an exception and return a negative value."
|
291 | 295 | msgstr ""
|
292 | 296 |
|
293 |
| -#: ../../c-api/object.rst:459 |
| 297 | +#: ../../c-api/object.rst:466 |
294 | 298 | msgid "Get a pointer to per-item data for a class with :c:macro:`Py_TPFLAGS_ITEMS_AT_END`."
|
295 | 299 | msgstr ""
|
296 | 300 |
|
297 |
| -#: ../../c-api/object.rst:462 |
| 301 | +#: ../../c-api/object.rst:469 |
298 | 302 | msgid "On error, set an exception and return ``NULL``. :py:exc:`TypeError` is raised if *o* does not have :c:macro:`Py_TPFLAGS_ITEMS_AT_END` set."
|
299 | 303 | msgstr ""
|
300 | 304 |
|
|
0 commit comments