-
-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
614aef5
commit dd26bd7
Showing
2 changed files
with
24 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Python 3.13\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-09-27 00:14+0000\n" | ||
"POT-Creation-Date: 2024-12-14 00:14+0000\n" | ||
"PO-Revision-Date: 2018-05-23 14:32+0000\n" | ||
"Last-Translator: Adrian Liaw <[email protected]>\n" | ||
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||
|
@@ -623,74 +623,81 @@ msgstr "" | |
|
||
#: ../../c-api/object.rst:514 | ||
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." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:520 | ||
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." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:524 | ||
#: ../../c-api/object.rst:530 | ||
msgid "Get a pointer to subclass-specific data reserved for *cls*." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:526 | ||
#: ../../c-api/object.rst:532 | ||
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." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:530 | ||
#: ../../c-api/object.rst:536 | ||
msgid "On error, set an exception and return ``NULL``." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:536 | ||
#: ../../c-api/object.rst:542 | ||
msgid "" | ||
"Return the size of the instance memory space reserved for *cls*, i.e. the " | ||
"size of the memory :c:func:`PyObject_GetTypeData` returns." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:539 | ||
#: ../../c-api/object.rst:545 | ||
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`)." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:542 | ||
#: ../../c-api/object.rst:548 | ||
msgid "" | ||
"The type *cls* **must** have been created using negative :c:member:" | ||
"`PyType_Spec.basicsize`. Python does not check this." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:546 | ||
#: ../../c-api/object.rst:552 | ||
msgid "On error, set an exception and return a negative value." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:552 | ||
#: ../../c-api/object.rst:558 | ||
msgid "" | ||
"Get a pointer to per-item data for a class with :c:macro:" | ||
"`Py_TPFLAGS_ITEMS_AT_END`." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:555 | ||
#: ../../c-api/object.rst:561 | ||
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." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:563 | ||
#: ../../c-api/object.rst:569 | ||
msgid "Visit the managed dictionary of *obj*." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:565 ../../c-api/object.rst:574 | ||
#: ../../c-api/object.rst:571 ../../c-api/object.rst:580 | ||
msgid "" | ||
"This function must only be called in a traverse function of the type which " | ||
"has the :c:macro:`Py_TPFLAGS_MANAGED_DICT` flag set." | ||
msgstr "" | ||
|
||
#: ../../c-api/object.rst:572 | ||
#: ../../c-api/object.rst:578 | ||
msgid "Clear the managed dictionary of *obj*." | ||
msgstr "" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: Python 3.13\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-09-03 11:11+0800\n" | ||
"POT-Creation-Date: 2024-12-14 00:14+0000\n" | ||
"PO-Revision-Date: 2016-11-19 00:31+0000\n" | ||
"Last-Translator: Liang-Bo Wang <[email protected]>\n" | ||
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||
|
@@ -133,9 +133,9 @@ msgstr "" | |
#: ../../library/http.cookies.rst:100 | ||
msgid "" | ||
"Return a string representation suitable to be sent as HTTP headers. *attrs* " | ||
"and *header* are sent to each :class:`Morsel`'s :meth:`output` method. *sep* " | ||
"is used to join the headers together, and is by default the combination " | ||
"``'\\r\\n'`` (CRLF)." | ||
"and *header* are sent to each :class:`Morsel`'s :meth:`~Morsel.output` " | ||
"method. *sep* is used to join the headers together, and is by default the " | ||
"combination ``'\\r\\n'`` (CRLF)." | ||
msgstr "" | ||
|
||
#: ../../library/http.cookies.rst:108 | ||
|