File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3131,6 +3131,8 @@ msgid ""
31313131" is in *self*, false otherwise. For mapping objects, this should consider "
31323132"the keys of the mapping rather than the values or the key-item pairs."
31333133msgstr ""
3134+ "调用此方法以实现成员检测运算符。如果 *item* 是 *self* "
3135+ "的成员则应返回真,否则返回假。对于映射类型,此检测应基于映射的键而不是值或者键值对。"
31343136
31353137#: ../../reference/datamodel.rst:2240
31363138msgid ""
@@ -3139,10 +3141,13 @@ msgid ""
31393141"protocol via :meth:`__getitem__`, see :ref:`this section in the language "
31403142"reference <membership-test-details>`."
31413143msgstr ""
3144+ "对于未定义 :meth:`__contains__` 的对象,成员检测将首先尝试通过 :meth:`__iter__` 进行迭代,然后再使用 "
3145+ ":meth:`__getitem__` 的旧式序列迭代协议,参看 :ref:`语言参考中的相应部分 <membership-test-"
3146+ "details>`。"
31423147
31433148#: ../../reference/datamodel.rst:2249
31443149msgid "Emulating numeric types"
3145- msgstr ""
3150+ msgstr "模拟数字类型 "
31463151
31473152#: ../../reference/datamodel.rst:2251
31483153msgid ""
You can’t perform that action at this time.
0 commit comments