@@ -766,18 +766,20 @@ msgstr ""
766
766
msgid ""
767
767
"This is a backwards incompatible change, so to enable the new behavior, a "
768
768
":term:`__future__` import is necessary::"
769
- msgstr ""
769
+ msgstr "这是一个向下不兼容的更改,所以想要启用这个新行为,必须执行 :term:`__future__` 导入:: "
770
770
771
771
#: ../../whatsnew/3.5.rst:595
772
772
msgid ""
773
773
"Without a ``__future__`` import, a :exc:`PendingDeprecationWarning` will be "
774
774
"raised whenever a :exc:`StopIteration` exception is raised inside a "
775
775
"generator."
776
776
msgstr ""
777
+ "如果未执行 ``__future__`` 导入,当在生成器内部引发 :exc:`StopIteration` 异常时将导致 "
778
+ ":exc:`PendingDeprecationWarning` 被引发。"
777
779
778
780
#: ../../whatsnew/3.5.rst:601
779
781
msgid ":pep:`479` -- Change StopIteration handling inside generators"
780
- msgstr ""
782
+ msgstr ":pep:`479` -- 更改生成器内部的 StopIteration 处理 "
781
783
782
784
#: ../../whatsnew/3.5.rst:601
783
785
msgid ""
@@ -789,7 +791,7 @@ msgstr ""
789
791
790
792
#: ../../whatsnew/3.5.rst:608
791
793
msgid "PEP 485: A function for testing approximate equality"
792
- msgstr ""
794
+ msgstr "PEP 485:用于测试近似相等的函数 "
793
795
794
796
#: ../../whatsnew/3.5.rst:610
795
797
msgid ""
@@ -800,12 +802,15 @@ msgid ""
800
802
"the maximum allowed difference between ``isclose`` arguments, relative to "
801
803
"the larger absolute value::"
802
804
msgstr ""
805
+ ":pep:`485` 增加了 :func:`math.isclose` 和 :func:`cmath.isclose` "
806
+ "函数用于检测两个值是否近似相等或称“接近”。 两个值是否接近是根据给定的绝对和相对范围来确定的。 相对范围是 ``isclose`` "
807
+ "参数之间的最大允许差值,即相对于较大的那个绝对数值的距离::"
803
808
804
809
#: ../../whatsnew/3.5.rst:625
805
810
msgid ""
806
811
"It is also possible to compare two values using absolute tolerance, which "
807
812
"must be a non-negative value::"
808
- msgstr ""
813
+ msgstr "也可以使用绝对范围来比较两个值,它必须是一个非负数值:: "
809
814
810
815
#: ../../whatsnew/3.5.rst:639
811
816
msgid ":pep:`485` -- A function for testing approximate equality"
@@ -819,7 +824,7 @@ msgstr "PEP 由 Christopher Barker 撰写,由 Chris Barker 和 Tal Einat 实
819
824
820
825
#: ../../whatsnew/3.5.rst:646
821
826
msgid "PEP 486: Make the Python Launcher aware of virtual environments"
822
- msgstr ""
827
+ msgstr "PEP 486:使 Python 启动器识别虚拟环境 "
823
828
824
829
#: ../../whatsnew/3.5.rst:648
825
830
msgid ""
@@ -828,18 +833,20 @@ msgid ""
828
833
"``VIRTUAL_ENV`` environment variable is set, the interpreter in the virtual "
829
834
"environment will be used."
830
835
msgstr ""
836
+ ":pep:`486` 让 Windows 版启动器 (参见 :pep:`397`) 能够识别激活的虚拟环境。 当要使用默认解释器并且设置了 "
837
+ "``VIRTUAL_ENV`` 环境变量时,将使用虚拟环境中的解释器。"
831
838
832
839
#: ../../whatsnew/3.5.rst:655
833
840
msgid ":pep:`486` -- Make the Python Launcher aware of virtual environments"
834
- msgstr ""
841
+ msgstr ":pep:`486` -- 让 Python 启动器识别虚拟环境 "
835
842
836
843
#: ../../whatsnew/3.5.rst:656
837
844
msgid "PEP written and implemented by Paul Moore."
838
845
msgstr "PEP 由 Paul Moore 撰写并实现"
839
846
840
847
#: .
57A1
./../whatsnew/3.5.rst:662
841
848
msgid "PEP 488: Elimination of PYO files"
842
- msgstr ""
849
+ msgstr "PEP 488:去除 PYO 文件 "
843
850
844
851
#: ../../whatsnew/3.5.rst:664
845
852
msgid ""
0 commit comments