File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -264,6 +264,8 @@ msgid ""
264264"(as in the tuple returned by the :meth:`parse` method). The default version"
265265" understands 's' (str), 'r' (repr) and 'a' (ascii) conversion types."
266266msgstr ""
267+ "使用给定的转换类型(来自 :meth:`parse` 方法所返回的元组)来转换(由 :meth:`get_field` 所返回的)值。 默认版本支持 "
268+ "'s' (str), 'r' (repr) 和 'a' (ascii) 等转换类型。"
267269
268270#: ../../library/string.rst:187
269271msgid "Format String Syntax"
@@ -277,6 +279,9 @@ msgid ""
277279"related to that of :ref:`formatted string literals <f-strings>`, but there "
278280"are differences."
279281msgstr ""
282+ ":meth:`str.format` 方法和 :class:`Formatter` 类共享相同的格式字符串语法(虽然对于 "
283+ ":class:`Formatter` 来说,其子类可以定义它们自己的格式字符串语法)。 具体语法与 :ref:`格式化字符串字面值 "
284+ "<f-strings>` 相似,但也存在区别。"
280285
281286#: ../../library/string.rst:202
282287msgid ""
You can’t perform that action at this time.
0 commit comments