Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c38f004

Browse files
[po] auto sync
1 parent 3ebe8fc commit c38f004

2 files changed

Lines changed: 16 additions & 10 deletions

File tree

library/test.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -839,47 +839,47 @@ msgstr "一个在指定时区下运行函数的装饰器,并在其结束后正
839839
msgid ""
840840
"Decorator for the minimum version when running test on FreeBSD. If the "
841841
"FreeBSD version is less than the minimum, the test is skipped."
842-
msgstr ""
842+
msgstr "当在 FreeBSD 上运行测试时指定最低版本的装饰器。 如果 FreeBSD 版本号低于指定值,测试将被跳过。"
843843

844844
#: ../../library/test.rst:689
845845
msgid ""
846846
"Decorator for the minimum version when running test on Linux. If the Linux "
847847
"version is less than the minimum, the test is skipped."
848-
msgstr ""
848+
msgstr "当在 Linux 上运行测试时指定最低版本的装饰器。 如果 Linux 版本号低于指定值,测试将被跳过。"
849849

850850
#: ../../library/test.rst:695
851851
msgid ""
852852
"Decorator for the minimum version when running test on macOS. If the macOS "
853853
"version is less than the minimum, the test is skipped."
854-
msgstr ""
854+
msgstr "当在 macOS 上运行测试时指定最低版本的装饰器。 如果 macOS 版本号低于指定值,测试将被跳过。"
855855

856856
#: ../../library/test.rst:701
857857
msgid "Decorator for skipping tests on non-IEEE 754 platforms."
858-
msgstr ""
858+
msgstr "用于在非 non-IEEE 754 平台上跳过测试的装饰器。"
859859

860860
#: ../../library/test.rst:706
861861
msgid "Decorator for skipping tests if :mod:`zlib` doesn't exist."
862-
msgstr ""
862+
msgstr "用于当 :mod:`zlib` 不存在时跳过测试的装饰器。"
863863

864864
#: ../../library/test.rst:711
865865
msgid "Decorator for skipping tests if :mod:`gzip` doesn't exist."
866-
msgstr ""
866+
msgstr "用于当 :mod:`gzip` 不存在时跳过测试的装饰器。"
867867

868868
#: ../../library/test.rst:716
869869
msgid "Decorator for skipping tests if :mod:`bz2` doesn't exist."
870-
msgstr ""
870+
msgstr "用于当 :mod:`bz2` 不存在时跳过测试的装饰器。"
871871

872872
#: ../../library/test.rst:721
873873
msgid "Decorator for skipping tests if :mod:`lzma` doesn't exist."
874-
msgstr ""
874+
msgstr "用于当 :mod:`lzma` 不存在时跳过测试的装饰器。"
875875

876876
#: ../../library/test.rst:726
877877
msgid "Decorator for skipping tests if *resource* is not available."
878-
msgstr ""
878+
msgstr "用于当 *resource* 不可用时跳过测试的装饰器。"
879879

880880
#: ../../library/test.rst:731
881881
msgid "Decorator for only running the test if :data:`HAVE_DOCSTRINGS`."
882-
msgstr ""
882+
msgstr "用于仅当 :data:`HAVE_DOCSTRINGS` 时才运行测试的装饰器。"
883883

884884
#: ../../library/test.rst:736
885885
msgid "Decorator for tests only applicable to CPython."

reference/expressions.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,10 @@ msgid ""
690690
"caller. If the generator exits without yielding another value, a "
691691
":exc:`StopIteration` exception is raised."
692692
msgstr ""
693+
"开始一个生成器函数的执行或是从上次执行 yield 表达式的位置恢复执行。 当一个生成器函数通过 :meth:`~generator.__next__`"
694+
" 方法恢复执行时,当前的 yield 表达式总是取值为 :const:`None`。 随后会继续执行到下一个 yield "
695+
"表达式,这时生成器将再次挂起,而 :token:`~python-grammar:expression_list` 的值会被返回给 "
696+
":meth:`__next__` 的调用方。 如果生成器没有产生下一个值就退出,则将引发 :exc:`StopIteration` 异常。"
693697

694698
#: ../../reference/expressions.rst:544
695699
msgid ""
@@ -719,6 +723,8 @@ msgid ""
719723
" If the generator function does not catch the passed-in exception, or "
720724
"raises a different exception, then that exception propagates to the caller."
721725
msgstr ""
726+
"在生成器暂停的位置引发一个异常,并返回该生成器函数所产生的下一个值。 如果生成器没有产生下一个值就退出,则将引发 "
727+
":exc:`StopIteration` 异常。 如果生成器函数没有捕获传入的异常,或是引发了另一个异常,则该异常会被传播给调用方。"
722728

723729
#: ../../reference/expressions.rst:568
724730
msgid ""

0 commit comments

Comments
 (0)