Skip to content

Commit 03b6540

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython e1a22343
1 parent 0ca399f commit 03b6540

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

c-api/cell.po

+22-8
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2021-09-13 00:11+0000\n"
14+
"POT-Creation-Date: 2024-07-10 00:04+0000\n"
1515
"PO-Revision-Date: 2022-10-16 15:33+0800\n"
1616
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1717
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -68,33 +68,47 @@ msgid ""
6868
msgstr "建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``。"
6969

7070
#: ../../c-api/cell.rst:42
71-
msgid "Return the contents of the cell *cell*."
72-
msgstr "回傳 cell 內容中的 *cell*。"
71+
#, fuzzy
72+
msgid ""
73+
"Return the contents of the cell *cell*, which can be ``NULL``. If *cell* is "
74+
"not a cell object, returns ``NULL`` with an exception set."
75+
msgstr ""
76+
"回傳 cell 物件 *cell* 的內容,但是不檢查 *cell* 是否非 ``NULL`` 並且為一個 "
77+
"cell 物件。"
7378

74-
#: ../../c-api/cell.rst:47
79+
#: ../../c-api/cell.rst:48
7580
msgid ""
7681
"Return the contents of the cell *cell*, but without checking that *cell* is "
7782
"non-``NULL`` and a cell object."
7883
msgstr ""
7984
"回傳 cell 物件 *cell* 的內容,但是不檢查 *cell* 是否非 ``NULL`` 並且為一個 "
8085
"cell 物件。"
8186

82-
#: ../../c-api/cell.rst:53
87+
#: ../../c-api/cell.rst:54
88+
#, fuzzy
8389
msgid ""
8490
"Set the contents of the cell object *cell* to *value*. This releases the "
8591
"reference to any current content of the cell. *value* may be ``NULL``. "
86-
"*cell* must be non-``NULL``; if it is not a cell object, ``-1`` will be "
87-
"returned. On success, ``0`` will be returned."
92+
"*cell* must be non-``NULL``."
8893
msgstr ""
8994
"將 cell 物件 *cell* 的內容設為 *value*。這將釋放任何對 cell 物件當前內容的參"
9095
"照。*value* 可以為 ``NULL``。*cell* 必須不為 ``NULL``;如果它不是一個 cell 物"
9196
"件則將回傳 ``-1``。如果設定成功則將回傳 ``0``。"
9297

93-
#: ../../c-api/cell.rst:61
98+
#: ../../c-api/cell.rst:58
99+
msgid ""
100+
"On success, return ``0``. If *cell* is not a cell object, set an exception "
101+
"and return ``-1``."
102+
msgstr ""
103+
104+
#: ../../c-api/cell.rst:64
94105
msgid ""
95106
"Sets the value of the cell object *cell* to *value*. No reference counts "
96107
"are adjusted, and no checks are made for safety; *cell* must be non-``NULL`` "
97108
"and must be a cell object."
98109
msgstr ""
99110
"將 cell 物件 *cell* 的值設為 *value*。不會調整參照計數,並且不會進行任何安全"
100111
"檢查;*cell* 必須為非 ``NULL`` 並且為一個 cell 物件。"
112+
113+
#~ msgid "Return the contents of the cell *cell*."
114+
#~ msgstr "回傳 cell 內容中的 *cell*。"

0 commit comments

Comments
 (0)