Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f778e3

Browse files
[po] auto sync
1 parent 01996a4 commit 6f778e3

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "90.02%", "updated_at": "2023-08-28T03:56:32Z"}
1+
{"translation": "90.03%", "updated_at": "2023-08-28T05:56:29Z"}

c-api/dict.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ msgid ""
1616
msgstr ""
1717
"Project-Id-Version: Python 3.12\n"
1818
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2023-08-25 20:17+0000\n"
19+
"POT-Creation-Date: 2023-08-25 22:29+0000\n"
2020
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
2121
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
2222
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -100,6 +100,9 @@ msgid ""
100100
"created using ``PyUnicode_FromString(key)``. Return ``0`` on success or "
101101
"``-1`` on failure. This function *does not* steal a reference to *val*."
102102
msgstr ""
103+
"使用 *key* 作为键将 *val* 插入到字典 *p* 中。 *key* 应为 :c:expr:`const char*` UTF-8 "
104+
"编码的字节串。 键对象是使用 ``PyUnicode_FromString(key)`` 创建的。 成功时返回 ``0``,失败时返回 ``-1``。 "
105+
"此函数 *不会* 偷取对 *val* 的引用。"
103106

104107
#: ../../c-api/dict.rst:83
105108
msgid ""
@@ -118,6 +121,8 @@ msgid ""
118121
"encoded bytes string *key*. If *key* is not in the dictionary, "
119122
":exc:`KeyError` is raised. Return ``0`` on success or ``-1`` on failure."
120123
msgstr ""
124+
"移除字典 *p* 中由 UTF-8 编码的字节串 *key* 指定的键的条目。 如果字典中不存在 *key*,则会引发 :exc:`KeyError`。"
125+
" 成功时返回 ``0``,失败时返回 ``-1``。"
121126

122127
#: ../../c-api/dict.rst:99
123128
msgid ""
@@ -156,6 +161,8 @@ msgid ""
156161
":c:expr:`const char*` UTF-8 encoded bytes string, rather than a "
157162
":c:expr:`PyObject*`."
158163
msgstr ""
164+
"这与 :c:func:`PyDict_GetItem` 一样,但 *key* 是由一个 :c:expr:`const char*` UTF-8 "
165+
"编码的字节串来指定的,而不是 :c:expr:`PyObject*`。"
159166

160167
#: ../../c-api/dict.rst:129
161168
msgid ""

0 commit comments

Comments
 (0)