8000 [po] auto sync · python/python-docs-zh-cn@f792827 · GitHub
[go: up one dir, main page]

Skip to content

Commit f792827

Browse files
[po] auto sync
1 parent b3625b3 commit f792827

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.43%", "updated_at": "2024-02-22T13:23:35Z"}
1+
{"translation": "91.45%", "updated_at": "2024-02-23T06:25:03Z"}

whatsnew/3.5.po

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -766,18 +766,20 @@ msgstr ""
766766
msgid ""
767767
"This is a backwards incompatible change, so to enable the new behavior, a "
768768
":term:`__future__` import is necessary::"
769-
msgstr ""
769+
msgstr "这是一个向下不兼容的更改,所以想要启用这个新行为,必须执行 :term:`__future__` 导入::"
770770

771771
#: ../../whatsnew/3.5.rst:595
772772
msgid ""
773773
"Without a ``__future__`` import, a :exc:`PendingDeprecationWarning` will be "
774774
"raised whenever a :exc:`StopIteration` exception is raised inside a "
775775
"generator."
776776
msgstr ""
777+
"如果未执行 ``__future__`` 导入,当在生成器内部引发 :exc:`StopIteration` 异常时将导致 "
778+
":exc:`PendingDeprecationWarning` 被引发。"
777779

778780
#: ../../whatsnew/3.5.rst:601
779781
msgid ":pep:`479` -- Change StopIteration handling inside generators"
780-
msgstr ""
782+
msgstr ":pep:`479` -- 更改生成器内部的 StopIteration 处理"
781783

782784
#: ../../whatsnew/3.5.rst:601
783785
msgid ""
@@ -789,7 +791,7 @@ msgstr ""
789791

790792
#: ../../whatsnew/3.5.rst:608
791793
msgid "PEP 485: A function for testing approximate equality"
792-
msgstr ""
794+
msgstr "PEP 485:用于测试近似相等的函数"
793795

794796
#: ../../whatsnew/3.5.rst:610
795797
msgid ""
@@ -800,12 +802,15 @@ msgid ""
800802
"the maximum allowed difference between ``isclose`` arguments, relative to "
801803
"the larger absolute value::"
802804
msgstr ""
805+
":pep:`485` 增加了 :func:`math.isclose` 和 :func:`cmath.isclose` "
806+
"函数用于检测两个值是否近似相等或称“接近”。 两个值是否接近是根据给定的绝对和相对范围来确定的。 相对范围是 ``isclose`` "
807+
"参数之间的最大允许差值,即相对于较大的那个绝对数值的距离::"
803808

804809
#: ../../whatsnew/3.5.rst:625
805810
msgid ""
806811
"It is also possible to compare two values using absolute tolerance, which "
807812
"must be a non-negative value::"
808-
msgstr ""
813+
msgstr "也可以使用绝对范围来比较两个值,它必须是一个非负数值::"
809814

810815
#: ../../whatsnew/3.5.rst:639
811816
msgid ":pep:`485` -- A function for testing approximate equality"
@@ -819,7 +824,7 @@ msgstr "PEP 由 Christopher Barker 撰写,由 Chris Barker 和 Tal Einat 实
819824

820825
#: ../../whatsnew/3.5.rst:646
821826
msgid "PEP 486: Make the Python Launcher aware of virtual environments"
822-
msgstr ""
827+
msgstr "PEP 486:使 Python 启动器识别虚拟环境"
823828

824829
#: ../../whatsnew/3.5.rst:648
825830
msgid ""
@@ -828,18 +833,20 @@ msgid ""
828833
"``VIRTUAL_ENV`` environment variable is set, the interpreter in the virtual "
829834
"environment will be used."
830835
msgstr ""
836+
":pep:`486` 让 Windows 版启动器 (参见 :pep:`397`) 能够识别激活的虚拟环境。 当要使用默认解释器并且设置了 "
837+
"``VIRTUAL_ENV`` 环境变量时,将使用虚拟环境中的解释器。"
831838

832839
#: ../../whatsnew/3.5.rst:655
833840
msgid ":pep:`486` -- Make the Python Launcher aware of virtual environments"
834-
msgstr ""
841+
msgstr ":pep:`486` -- 让 Python 启动器识别虚拟环境"
835842

836843
#: ../../whatsnew/3.5.rst:656
837844
msgid "PEP written and implemented by Paul Moore."
838845
msgstr "PEP 由 Paul Moore 撰写并实现"
839846

840847
#: . 57A1 ./../whatsnew/3.5.rst:662
841848
msgid "PEP 488: Elimination of PYO files"
842-
msgstr ""
849+
msgstr "PEP 488:去除 PYO 文件"
843850

844851
#: ../../whatsnew/3.5.rst:664
845852
msgid ""

0 commit comments

Comments
 (0)
0