@@ -3671,6 +3671,9 @@ msgid ""
36713671"describing themselves, so the functionality is left to a package. "
36723672"(Contributed by Vajrasky Kok and Berker Peksag in :issue:`1322`.)"
36733673msgstr ""
3674+ "现在 :func:`platform.dist` 和 :func:`platform.linux_distribution` 函数已被弃用。 各种 "
3675+ "Linux 发行版使用太多不同的方式来描述自己,所以此功能将留给具体的包来实现。 (由 Vajrasky Kok 和 Berker Peksag 在 "
3676+ ":issue:`1322` 中贡献。)"
36743677
36753678#: ../../whatsnew/3.5.rst:2322
36763679msgid ""
@@ -3679,12 +3682,18 @@ msgid ""
36793682":meth:`Signature.from_callable() <inspect.Signature.from_callable>` method "
36803683"instead. (Contributed by Yury Selivanov in :issue:`24248`.)"
36813684msgstr ""
3685+ "之前未写入文档的 :class:`inspect.Signature` 的 ``from_function`` 和 ``from_builtin`` "
3686+ "方法已被弃用。 请改用新的 :meth:`Signature.from_callable() "
3687+ "<inspect.Signature.from_callable>` 方法。 (由 Yury Selivanov 在 :issue:`24248` "
3688+ "中贡献。)"
36823689
36833690#: ../../whatsnew/3.5.rst:2327
36843691msgid ""
36853692"The :func:`inspect.getargspec` function is deprecated and scheduled to be "
36863693"removed in Python 3.6. (See :issue:`20438` for details.)"
36873694msgstr ""
3695+ ":func:`inspect.getargspec` 函数已被弃用并计划在 Python 3.6 中移除。 (请参阅 :issue:`20438` "
3696+ "了解详情。)"
36883697
36893698#: ../../whatsnew/3.5.rst:2330
36903699msgid ""
@@ -3693,18 +3702,25 @@ msgid ""
36933702"are deprecated in favor of the :func:`inspect.signature` API. (Contributed "
36943703"by Yury Selivanov in :issue:`20438`.)"
36953704msgstr ""
3705+ ":mod:`inspect` 的 :func:`~inspect.getfullargspec`, "
3706+ ":func:`~inspect.getcallargs` 和 :func:`~inspect.formatargspec` 函数已被弃用而应改用 "
3707+ ":func:`inspect.signature` API。 (由 Yury Selivanov 在 :issue:`20438` 中贡献。)"
36963708
36973709#: ../../whatsnew/3.5.rst:2335
36983710msgid ""
36993711":func:`~inspect.getargvalues` and :func:`~inspect.formatargvalues` functions"
37003712" were inadvertently marked as deprecated with the release of Python 3.5.0."
37013713msgstr ""
3714+ "在 Python 3.5.0 发布时 :func:`~inspect.getargvalues` 和 "
3715+ ":func:`~inspect.formatargvalues` 函数被误标记为已弃用。"
37023716
37033717#: ../../whatsnew/3.5.rst:2338
37043718msgid ""
37053719"Use of :const:`re.LOCALE` flag with str patterns or :const:`re.ASCII` is now"
37063720" deprecated. (Contributed by Serhiy Storchaka in :issue:`22407`.)"
37073721msgstr ""
3722+ "在 str 模式中使用 :const:`re.LOCALE` 旗标或 :const:`re.ASCII` 的做法现在已被弃用。 (由 Serhiy "
3723+ "Storchaka 在 :issue:`22407` 中贡献。)"
37083724
37093725#: ../../whatsnew/3.5.rst:2341
37103726msgid ""
@@ -3713,6 +3729,8 @@ msgid ""
37133729"deprecation warning and will be forbidden in Python 3.6. (Contributed by "
37143730"Serhiy Storchaka in :issue:`23622`.)"
37153731msgstr ""
3732+ "在正则表达式模式和替换模式中使用不可识别的由 ``'\\ '`` 加一个 ASCII 字母组成的序列的做法现在会引发弃用警告并将在 Python 3.6 "
3733+ "中被禁止。 (由 Serhiy Storchaka 在 :issue:`23622` 中贡献。)"
37163734
37173735#: ../../whatsnew/3.5.rst:2346
37183736msgid ""
@@ -3721,6 +3739,9 @@ msgid ""
37213739" ignored. (Contributed by Robert Collins and Barry A. Warsaw in "
37223740":issue:`16662`.)"
37233741msgstr ""
3742+ "现在 :meth:`unittest.TestLoader.loadTestsFromModule` 方法未写入文档的非官方 "
3743+ "*use_load_tests* 默认参数已被弃用并会被忽略。 (由 Robert Collins 和 Barry A. Warsaw 在 "
3744+ ":issue:`16662` 中贡献。)"
37243745
37253746#: ../../whatsnew/3.5.rst:2353
37263747msgid "Removed"
@@ -3751,10 +3772,12 @@ msgid ""
37513772"3.4, and has now been removed. (Contributed by Matt Chaput in "
37523773":issue:`6623`.)"
37533774msgstr ""
3775+ "在 :mod:`ftplib` 模块中的内部 ``Netrc`` 类在 3.4 中被弃用,现在已被移除。 (由 Matt Chaput 在 "
3776+ ":issue:`6623` 中贡献。)"
37543777
37553778#: ../../whatsnew/3.5.rst:2369
37563779msgid "The concept of ``.pyo`` files has been removed."
3757- msgstr ""
3780+ msgstr "``.pyo`` 文件的概念已被移除。 "
37583781
37593782#: ../../whatsnew/3.5.rst:2371
37603783msgid ""
0 commit comments