@@ -3976,13 +3976,17 @@ msgid ""
39763976" locale to the value of ``LC_NUMERIC`` in some cases. (Contributed by Victor"
39773977" Stinner in :issue:`31900`.)"
39783978msgstr ""
3979+ "某些情况下 :func:`locale.localeconv` 函数现在会临时将 ``LC_CTYPE`` 区域设置为 ``LC_NUMERIC`` "
3980+ "的值。 (由 Victor Stinner 在 :issue:`31900` 中贡献。)"
39793981
39803982#: ../../whatsnew/3.7.rst:2272
39813983msgid ""
39823984":meth:`pkgutil.walk_packages` now raises a :exc:`ValueError` if *path* is a "
39833985"string. Previously an empty list was returned. (Contributed by Sanyam "
39843986"Khurana in :issue:`24744`.)"
39853987msgstr ""
3988+ "如果 *path* 为字符串 :meth:`pkgutil.walk_packages` 现在会引发 :exc:`ValueError`。 "
3989+ "之前则是返回一个空列表。 (由 Sanyam Khurana 在 :issue:`24744` 中贡献。)"
39863990
39873991#: ../../whatsnew/3.7.rst:2276
39883992msgid ""
@@ -3991,6 +3995,9 @@ msgid ""
39913995"argument was deprecated in Python 3.5. (Contributed by Serhiy Storchaka in "
39923996":issue:`29193`.)"
39933997msgstr ""
3998+ ":meth:`string.Formatter.format` 的格式字符串参数现在为 :ref:`仅限位置 <positional-"
3999+ "only_parameter>` 参数。 将其作为关键字参数传入的方式自 Python 3.5 起已弃用。 (由 Serhiy Storchaka 在 "
4000+ ":issue:`29193` 中贡献。)"
39944001
39954002#: ../../whatsnew/3.7.rst:2281
39964003msgid ""
@@ -4001,6 +4008,11 @@ msgid ""
40014008"deprecated in Python 3.5. Use the :meth:`~http.cookies.Morsel.set` method "
40024009"for setting them. (Contributed by Serhiy Storchaka in :issue:`29192`.)"
40034010msgstr ""
4011+ "类 :class:`http.cookies.Morsel` 的属性 :attr:`~http.cookies.Morsel.key`, "
4012+ ":attr:`~http.cookies.Morsel.value` 和 "
4013+ ":attr:`~http.cookies.Morsel.coded_value` 现在均为只读。 对其赋值的操作自 Python 3.5 起已弃用。 "
4014+ "要设置它们的值请使用 :meth:`~http.cookies.Morsel.set` 方法。 (由 Serhiy Storchaka 在 "
4015+ ":issue:`29192` 中贡献。)"
40044016
40054017#: ../../whatsnew/3.7.rst:2289
40064018msgid ""
0 commit comments