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

Skip to content

Commit 3b34eb7

Browse files
[po] auto sync
1 parent 74c48f4 commit 3b34eb7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

c-api/mapping.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,26 +75,33 @@ msgid ""
7575
"on failure. This is equivalent to the Python statement ``del o[key]``. This"
7676
" is an alias of :c:func:`PyObject_DelItem`."
7777
msgstr ""
78+
"从对象 *o* 中移除对象 *key* 的映射。 失败时返回 ``-1``。 这相当于 Python 语句 ``del o[key]``。 这是 "
79+
":c:func:`PyObject_DelItem` 的一个别名。"
7880

7981
#: ../../c-api/mapping.rst:53
8082
msgid ""
8183
"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
8284
"on failure. This is equivalent to the Python statement ``del o[key]``."
8385
msgstr ""
86+
"从对象 *o* 中移除字符串 *key* 的映射。 失败时返回 ``-1``。 这相当于 Python 语句 ``del o[key]``。"
8487

8588
#: ../../c-api/mapping.rst:59 ../../c-api/mapping.rst:70
8689
msgid ""
8790
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
8891
"This is equivalent to the Python expression ``key in o``. This function "
8992
"always succeeds."
9093
msgstr ""
94+
"如果映射对象具有键 *key* 则返回 ``1``,否则返回 ``0``。 这相当于 Python 表达式 ``key in o``。 "
95+
"此函数总是会成功执行。"
9196

9297
#: ../../c-api/mapping.rst:63
9398
msgid ""
9499
"Note that exceptions which occur while calling the :meth:`__getitem__` "
95100
"method will get suppressed. To get error reporting use "
96101
":c:func:`PyObject_GetItem()` instead."
97102
msgstr ""
103+
"请注意在调用 :meth:`__getitem__` 方法期间发生的异常将会被屏蔽。 要获取错误报告请改用 "
104+
":c:func:`PyObject_GetItem()`。"
98105

99106
#: ../../c-api/mapping.rst:74
100107
msgid ""

0 commit comments

Comments
 (0)