Skip to content

Commit cb73f1a

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 7f5a741a
1 parent 728263c commit cb73f1a

File tree

5 files changed

+90
-84
lines changed

5 files changed

+90
-84
lines changed

faq/programming.po

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.12\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
13+
"POT-Creation-Date: 2023-08-20 15:45+0000\n"
1414
"PO-Revision-Date: 2023-02-18 14:48+0800\n"
1515
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -796,9 +796,9 @@ msgstr "list 是 :term:`mutable`,這意味著你可以變更它們的內容。
796796
#: ../../faq/programming.rst:457
797797
#, fuzzy
798798
msgid ""
799-
"After the call to :meth:`~list.append`, the content of the mutable object "
800-
"has changed from ``[]`` to ``[10]``. Since both the variables refer to the "
801-
"same object, using either name accesses the modified value ``[10]``."
799+
"After the call to :meth:`!append`, the content of the mutable object has "
800+
"changed from ``[]`` to ``[10]``. Since both the variables refer to the same "
801+
"object, using either name accesses the modified value ``[10]``."
802802
msgstr ""
803803
"在呼叫 :meth:`~list.append` 之後,可變物件的內容從 ``[]`` 變成了 ``[10]``。由"
804804
"於這兩個變數都引用同一個物件,因此使用任一名稱都可以存取修改後的值 "
@@ -2222,9 +2222,8 @@ msgid ""
22222222
"an :meth:`~object.__iadd__` magic method, it gets called when the ``+=`` "
22232223
"augmented assignment is executed, and its return value is what gets used in "
22242224
"the assignment statement; and (b) for lists, :meth:`!__iadd__` is equivalent "
2225-
"to calling :meth:`~list.extend` on the list and returning the list. That's "
2226-
"why we say that for lists, ``+=`` is a \"shorthand\" for :meth:`!list."
2227-
"extend`::"
2225+
"to calling :meth:`!extend` on the list and returning the list. That's why "
2226+
"we say that for lists, ``+=`` is a \"shorthand\" for :meth:`!list.extend`::"
22282227
msgstr ""
22292228
"要了解為什麼會發生這種情況,你需要知道 (a) 如果一個物件實作了一個 :meth:"
22302229
"`~object.__iadd__` 魔術方法,它會在執行 ``+=`` 增廣賦值時被呼叫,並且它的回傳"
@@ -2958,8 +2957,9 @@ msgstr ""
29582957
"float('NaN') 之類的不等於自身的物件所混淆。"
29592958

29602959
#: ../../faq/programming.rst:1905
2960+
#, fuzzy
29612961
msgid ""
2962-
"For example, here is the implementation of :meth:`collections.abc.Sequence."
2962+
"For example, here is the implementation of :meth:`!collections.abc.Sequence."
29632963
"__contains__`::"
29642964
msgstr ""
29652965
"例如,以下是 :meth:`collections.abc.Sequence.__contains__` 的實作:\n"

library/ctypes.po

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-08-16 14:03+0000\n"
10+
"POT-Creation-Date: 2023-08-20 15:45+0000\n"
1111
"PO-Revision-Date: 2023-04-26 02:59+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2105,15 +2105,15 @@ msgstr ""
21052105

21062106
#: ../../library/ctypes.rst:2034
21072107
msgid ""
2108-
"This factory function creates and returns a new ctypes pointer type. Pointer "
2109-
"types are cached and reused internally, so calling this function repeatedly "
2110-
"is cheap. *type* must be a ctypes type."
2108+
"Create and return a new ctypes pointer type. Pointer types are cached and "
2109+
"reused internally, so calling this function repeatedly is cheap. *type* must "
2110+
"be a ctypes type."
21112111
msgstr ""
21122112

21132113
#: ../../library/ctypes.rst:2041
21142114
msgid ""
2115-
"This function creates a new pointer instance, pointing to *obj*. The "
2116-
"returned object is of the type ``POINTER(type(obj))``."
2115+
"Create a new pointer instance, pointing to *obj*. The returned object is of "
2116+
"the type ``POINTER(type(obj))``."
21172117
msgstr ""
21182118

21192119
#: ../../library/ctypes.rst:2044

0 commit comments

Comments
 (0)