88# Freesand Leo <[email protected] >, 202199# Jiuh-star <[email protected] >, 20221010# Alpha Du <[email protected] >, 202211+ # ww song <[email protected] >, 20221112#
1213#, fuzzy
1314msgid ""
@@ -16,7 +17,7 @@ msgstr ""
1617"Report-Msgid-Bugs-To : \n "
1718"POT-Creation-Date : 2022-06-16 06:28+0000\n "
1819"PO-Revision-Date : 2021-06-28 01:03+0000\n "
19- "Last-Translator : Alpha Du <alphanow @gmail.com>, 2022\n "
20+ "Last-Translator : ww song <sww4718168 @gmail.com>, 2022\n "
2021"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2122"MIME-Version : 1.0\n "
2223"Content-Type : text/plain; charset=UTF-8\n "
@@ -539,7 +540,7 @@ msgid ""
539540"``unsafe_hash``, ``frozen``, ``match_args``, ``kw_only``, and ``slots`` "
540541"have the same meaning as they do in :func:`dataclass`."
541542msgstr ""
542- "新建一个名为 ``cls_name`` 的数据库 ,其字段在 ``fields`` 中定义,基类在 ``bases`` 中给出,并使用在 "
543+ "新建一个名为 ``cls_name`` 的数据类 ,其字段在 ``fields`` 中定义,基类在 ``bases`` 中给出,并使用在 "
543544"``namespace`` 中给出的命名空间进行初始化。 ``fields`` 是一个可迭代对象,其中的每个元素均为 ``name``, "
544545"``(name, type)`` 或 ``(name, type, Field)``。 如果只提供了 ``name``,则 ``typing.Any``"
545546" 会被用作 ``type``。 ``init``, ``repr``, ``eq``, ``order``, ``unsafe_hash``, "
@@ -758,7 +759,7 @@ msgstr ""
758759msgid ""
759760"For example, suppose a field will be initialized from a database, if a value"
760761" is not provided when creating the class::"
761- msgstr "例如,假设一个字段将从数据库初始化,如果在创建类时未提供其值 ::"
762+ msgstr "例如,假设在创建类时没有为某个字段提供值,初始化时将从数据库中取值 ::"
762763
763764#: ../../library/dataclasses.rst:573
764765msgid ""
0 commit comments