File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1753,12 +1753,16 @@ msgid ""
17531753" when an \" informal\" string representation of instances of that class is "
17541754"required."
17551755msgstr ""
1756+ "由 :func:`repr` 内置函数调用以输出一个对象的“官方”字符串表示。如果可能,这应类似一个有效的 Python "
1757+ "表达式,能被用来重建具有相同取值的对象(只要有适当的环境)。如果这不可能,则应返回形式如 ``<...some useful "
1758+ "description...>`` 的字符串。返回值必须是一个字符串对象。如果一个类定义了 :meth:`__repr__` 但未定义 "
1759+ ":meth:`__str__`,则在需要该类的实例的“非正式”字符串表示时也会使用 :meth:`__repr__`。"
17561760
17571761#: ../../reference/datamodel.rst:1274
17581762msgid ""
17591763"This is typically used for debugging, so it is important that the "
17601764"representation is information-rich and unambiguous."
1761- msgstr ""
1765+ msgstr "此方法通常被用于调试,因此确保其表示的内容包含丰富信息且无歧义是很重要的。 "
17621766
17631767#: ../../reference/datamodel.rst:1285
17641768msgid ""
You can’t perform that action at this time.
0 commit comments