@@ -3628,6 +3628,9 @@ msgid ""
3628
3628
"describing themselves, so the functionality is left to a package. "
3629
3629
"(Contributed by Vajrasky Kok and Berker Peksag in :issue:`1322`.)"
3630
3630
msgstr ""
3631
+ "现在 :func:`platform.dist` 和 :func:`platform.linux_distribution` 函数已被弃用。 各种 "
3632
+ "Linux 发行版使用太多不同的方式来描述自己,所以此功能将留给具体的包来实现。 (由 Vajrasky Kok 和 Berker Peksag 在 "
3633
+ ":issue:`1322` 中贡献。)"
3631
3634
3632
3635
#: ../../whatsnew/3.5.rst:2321
3633
3636
msgid ""
@@ -3636,12 +3639,18 @@ msgid ""
3636
3639
":meth:`Signature.from_callable() <inspect.Signature.from_callable>` method "
3637
3640
"instead. (Contributed by Yury Selivanov in :issue:`24248`.)"
3638
3641
msgstr ""
3642
+ "之前未写入文档的 :class:`inspect.Signature` 的 ``from_function`` 和 ``from_builtin`` "
3643
+ "方法已被弃用。 请改用新的 :meth:`Signature.from_callable() "
3644
+ "<inspect.Signature.from_callable>` 方法。 (由 Yury Selivanov 在 :issue:`24248` "
3645
+ "中贡献。)"
3639
3646
3640
3647
#: ../../whatsnew/3.5.rst:2326
3641
3648
msgid ""
3642
3649
"The :func:`inspect.getargspec` function is deprecated and scheduled to be "
3643
3650
"removed in Python 3.6. (See :issue:`20438` for details.)"
3644
3651
msgstr ""
3652
+ ":func:`inspect.getargspec` 函数已被弃用并计划在 Python 3.6 中移除。 (请参阅 :issue:`20438` "
3653
+ "了解详情。)"
3645
3654
3646
3655
#: ../../whatsnew/3.5.rst:2329
3647
3656
msgid ""
@@ -3650,18 +3659,25 @@ msgid ""
3650
3659
"are deprecated in favor of the :func:`inspect.signature` API. (Contributed "
3651
3660
"by Yury Selivanov in :issue:`20438`.)"
3652
3661
msgstr ""
3662
+ ":mod:`inspect` 的 :func:`~inspect.getfullargspec`, "
3663
+ ":func:`~inspect.getcallargs` 和 :func:`~inspect.formatargspec` 函数已被弃用而应改用 "
3664
+ ":func:`inspect.signature` API。 (由 Yury Selivanov 在 :issue:`20438` 中贡献。)"
3653
3665
3654
3666
#: ../../whatsnew/3.5.rst:2334
3655
3667
msgid ""
3656
3668
":func:`~inspect.getargvalues` and :func:`~inspect.formatargvalues` functions"
3657
3669
" were inadvertently marked as deprecated with the release of Python 3.5.0."
3658
3670
msgstr ""
3671
+ "在 Python 3.5.0 发布时 :func:`~inspect.getargvalues` 和 "
3672
+ ":func:`~inspect.formatargvalues` 函数被误标记为已弃用。"
3659
3673
3660
3674
#: ../../whatsnew/3.5.rst:2337
3661
3675
msgid ""
3662
3676
"Use of :const:`re.LOCALE` flag with str patterns or :const:`re.ASCII` is now"
3663
3677
" deprecated. (Contributed by Serhiy Storchaka in :issue:`22407`.)"
3664
3678
msgstr ""
3679
+ "在 str 模式中使用 :const:`re.LOCALE` 旗标或 :const:`re.ASCII` 的做法现在已被弃用。 (由 Serhiy "
3680
+ "Storchaka 在 :issue:`22407` 中贡献。)"
3665
3681
3666
3682
#: ../../whatsnew/3.5.rst:2340
3667
3683
msgid ""
@@ -3670,6 +3686,8 @@ msgid ""
3670
3686
"deprecation warning and will be forbidden in Python 3.6. (Contributed by "
3671
3687
"Serhiy Storchaka in :issue:`23622`.)"
3672
3688
msgstr ""
3689
+ "在正则表达式模式和替换模式中使用不可识别的由 ``'\\ '`` 加一个 ASCII 字母组成的序列的做法现在会引发弃用警告并将在 Python 3.6 "
3690
+ "中被禁止。 (由 Serhiy Storchaka 在 :issue:`23622` 中贡献。)"
3673
3691
3674
3692
#: ../../whatsnew/3.5.rst:2345
3675
3693
msgid ""
0 commit comments