@@ -586,55 +586,61 @@ msgid ""
586586"numbers compare equal (e.g., ``1`` and ``1.0``) then they can be used "
587587"interchangeably to index the same dictionary entry."
588588msgstr ""
589+ "此类对象表示由几乎任意值作为索引的有限个对象的集合。不可作为键的值类型只有包含列表或字典或其他可变类型,通过值而非对象编号进行比较的值,其原因在于高效的字典实现需要使用键的哈希值以保持一致性。用作键的数字类型遵循正常的数字比较规则:"
590+ " 如果两个数字相等 (例如 ``1`` 和 ``1.0``) 则它们均可来用来索引同一个字典条目。"
589591
590592#: ../../reference/datamodel.rst:421
591593msgid ""
592594"Dictionaries are mutable; they can be created by the ``{...}`` notation (see"
593595" section :ref:`dict`)."
594- msgstr ""
596+ msgstr "字典是可变的;它们可通过 ``{...}`` 标注来创建 (参见 :ref:`dict` 小节)。 "
595597
596598#: ../../reference/datamodel.rst:428
597599msgid ""
598600"The extension modules :mod:`dbm.ndbm` and :mod:`dbm.gnu` provide additional "
599601"examples of mapping types, as does the :mod:`collections` module."
600602msgstr ""
603+ "扩展模块 :mod:`dbm.ndbm` 和 :mod:`dbm.gnu` 提供了额外的映射类型示例,:mod:`collections` "
604+ "模块也是如此。"
601605
602606#: ../../reference/datamodel.rst:692
603607msgid "Callable types"
604- msgstr ""
608+ msgstr "可调用类型 "
605609
606610#: ../../reference/datamodel.rst:439
607611msgid ""
608612"These are the types to which the function call operation (see section "
609613":ref:`calls`) can be applied:"
610- msgstr ""
614+ msgstr "此类型可以被应用于函数调用操作 (参见 :ref:`calls` 小节): "
611615
612616#: ../../reference/datamodel.rst:540
613617msgid "User-defined functions"
614- msgstr ""
618+ msgstr "用户定义函数 "
615619
616620#: ../../reference/datamodel.rst:448
617621msgid ""
618622"A user-defined function object is created by a function definition (see "
619623"section :ref:`function`). It should be called with an argument list "
620624"containing the same number of items as the function's formal parameter list."
621625msgstr ""
626+ "用户定义函数对象可通过函数定义来创建 (参见 :ref:`function` "
627+ "小节)。它被调用时应附带一个参数列表,其中包含的条目应与函数所定义的形参列表一致。"
622628
623629#: ../../reference/datamodel.rst:453
624630msgid "Special attributes:"
625- msgstr ""
631+ msgstr "特殊属性: "
626632
627633#: ../../reference/datamodel.rst:471
628634msgid "Attribute"
629- msgstr ""
635+ msgstr "属性 "
630636
631637#: ../../reference/datamodel.rst:471
632638msgid "Meaning"
633639msgstr "意义"
634640
635641#: ../../reference/datamodel.rst:473
636642msgid ":attr:`__doc__`"
637- msgstr ""
643+ msgstr ":attr:`__doc__` "
638644
639645#: ../../reference/datamodel.rst:473
640646msgid ""
0 commit comments