|
1 | 1 | # SOME DESCRIPTIVE TITLE. |
2 | | -# Copyright (C) 2001-2023, Python Software Foundation |
| 2 | +# Copyright (C) 2001-2024, Python Software Foundation |
3 | 3 | # This file is distributed under the same license as the Python package. |
4 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
5 | 5 | # |
6 | 6 | # Translators: |
7 | | -# Freesand Leo <[email protected]>, 2021 |
8 | | -# Makdon <[email protected]>, 2021 |
| 7 | +# Rafael Fontenelle <[email protected]>, 2024 |
9 | 8 | # |
10 | 9 | #, fuzzy |
11 | 10 | msgid "" |
12 | 11 | msgstr "" |
13 | 12 | "Project-Id-Version: Python 3.12\n" |
14 | 13 | "Report-Msgid-Bugs-To: \n" |
15 | | -"POT-Creation-Date: 2023-07-28 14:13+0000\n" |
16 | | -"PO-Revision-Date: 2021-06-28 00:47+0000\n" |
17 | | -" Last-Translator: Makdon <[email protected]>, 2021\n" |
| 14 | +"POT-Creation-Date: 2024-07-12 14:46+0000\n" |
| 15 | +"PO-Revision-Date: 2024-05-11 00:32+0000\n" |
| 16 | +" Last-Translator: Rafael Fontenelle <[email protected]>, 2024\n" |
18 | 17 | "Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n" |
19 | 18 | "MIME-Version: 1.0\n" |
20 | 19 | "Content-Type: text/plain; charset=UTF-8\n" |
@@ -64,26 +63,31 @@ msgid "" |
64 | 63 | msgstr "创建并返回一个包含值 *ob* 的新 cell 对象。形参可以为 ``NULL``。" |
65 | 64 |
|
66 | 65 | #: ../../c-api/cell.rst:42 |
67 | | -msgid "Return the contents of the cell *cell*." |
68 | | -msgstr "返回 cell 对象 *cell* 的内容。" |
| 66 | +msgid "" |
| 67 | +"Return the contents of the cell *cell*, which can be ``NULL``. If *cell* is " |
| 68 | +"not a cell object, returns ``NULL`` with an exception set." |
| 69 | +msgstr "" |
69 | 70 |
|
70 | | -#: ../../c-api/cell.rst:47 |
| 71 | +#: ../../c-api/cell.rst:48 |
71 | 72 | msgid "" |
72 | 73 | "Return the contents of the cell *cell*, but without checking that *cell* is " |
73 | 74 | "non-``NULL`` and a cell object." |
74 | 75 | msgstr "返回 cell 对象 *cell* 的内容,但是不检测 *cell* 是否非 ``NULL`` 并且为一个 cell 对象。" |
75 | 76 |
|
76 | | -#: ../../c-api/cell.rst:53 |
| 77 | +#: ../../c-api/cell.rst:54 |
77 | 78 | msgid "" |
78 | 79 | "Set the contents of the cell object *cell* to *value*. This releases the " |
79 | 80 | "reference to any current content of the cell. *value* may be ``NULL``. " |
80 | | -"*cell* must be non-``NULL``; if it is not a cell object, ``-1`` will be " |
81 | | -"returned. On success, ``0`` will be returned." |
| 81 | +"*cell* must be non-``NULL``." |
| 82 | +msgstr "" |
| 83 | + |
| 84 | +#: ../../c-api/cell.rst:58 |
| 85 | +msgid "" |
| 86 | +"On success, return ``0``. If *cell* is not a cell object, set an exception " |
| 87 | +"and return ``-1``." |
82 | 88 | msgstr "" |
83 | | -"将 cell 对象 *cell* 的内容设为 *value*。 这将释放任何对 cell 对象当前内容的引用。 *value* 可以为 " |
84 | | -"``NULL``。 *cell* 必须为非 ``NULL``;如果它不是一个 cell 对象则将返回 ``-1``。 如果设置成功则将返回 ``0``。" |
85 | 89 |
|
86 | | -#: ../../c-api/cell.rst:61 |
| 90 | +#: ../../c-api/cell.rst:64 |
87 | 91 | msgid "" |
88 | 92 | "Sets the value of the cell object *cell* to *value*. No reference counts " |
89 | 93 | "are adjusted, and no checks are made for safety; *cell* must be non-``NULL``" |
|
0 commit comments