Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b4d4eb commit ec4d13cCopy full SHA for ec4d13c
1 file changed
library/dataclasses.po
@@ -252,6 +252,8 @@ msgid ""
252
":meth:`__setattr__` or :meth:`__delattr__` is defined in the class, then "
253
":exc:`TypeError` is raised. See the discussion below."
254
msgstr ""
255
+"``frozen``: 如为真值 (默认值为 ``False``),则对字段赋值将会产生异常。 这模拟了只读的冻结实例。 如果在类中定义了 "
256
+":meth:`__setattr__` 或 :meth:`__delattr__` 则将会引发 :exc:`TypeError`。 参见下文的讨论。"
257
258
#: ../../library/dataclasses.rst:161
259
msgid ""
@@ -549,7 +551,7 @@ msgstr ""
549
551
550
552
"Return ``True`` if its parameter is a dataclass or an instance of one, "
553
"otherwise return ``False``."
-msgstr ""
554
+msgstr "如果其形参为 dataclass 或其实例则返回 ``True``,否则返回 ``False``。"
555
556
#: ../../library/dataclasses.rst:392
557
0 commit comments