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

Skip to content

Commit 89bf194

Browse files
committed
[po] auto sync bot
1 parent 4712e01 commit 89bf194

2 files changed

Lines changed: 53 additions & 21 deletions

File tree

library/math.po

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -372,33 +372,38 @@ msgid ""
372372
"If both ``x`` and ``y`` are finite, ``x`` is negative, and ``y`` is not an "
373373
"integer then ``pow(x, y)`` is undefined, and raises :exc:`ValueError`."
374374
msgstr ""
375+
"将返回 ``x`` 的 ``y`` 次幂。特殊情况尽可能遵循C99标准的附录'F'。特别是, ``pow(1.0, x)`` 和 ``pow(x, "
376+
"0.0)`` 总是返回 ``1.0`` ,即使 ``x`` 是零或NaN。 如果 ``x`` 和 ``y`` 都是有限的, ``x`` 是负数, "
377+
"``y`` 不是整数那么 ``pow(x, y)`` 是未定义的,并且引发 :exc:`ValueError` 。"
375378

376379
#: ../../library/math.rst:290
377380
msgid ""
378381
"Unlike the built-in ``**`` operator, :func:`math.pow` converts both its "
379382
"arguments to type :class:`float`. Use ``**`` or the built-in :func:`pow` "
380383
"function for computing exact integer powers."
381384
msgstr ""
385+
"与内置的 ``**`` 运算符不同, :func:`math.pow` 将其参数转换为 :class:`float` 类型。使用 ``**`` 或内置的"
386+
" :func:`pow` 函数来计算精确的整数幂。"
382387

383388
#: ../../library/math.rst:297
384389
msgid "Return the square root of *x*."
385-
msgstr ""
390+
msgstr "返回 *x* 的平方根。"
386391

387392
#: ../../library/math.rst:301
388393
msgid "Trigonometric functions"
389394
msgstr "三角函数"
390395

391396
#: ../../library/math.rst:305
392397
msgid "Return the arc cosine of *x*, in radians."
393-
msgstr ""
398+
msgstr "以弧度为单位返回 *x* 的反余弦值。"
394399

395400
#: ../../library/math.rst:310
396401
msgid "Return the arc sine of *x*, in radians."
397-
msgstr ""
402+
msgstr "以弧度为单位返回 *x* 的反正弦值。"
398403

399404
#: ../../library/math.rst:315
400405
msgid "Return the arc tangent of *x*, in radians."
401-
msgstr ""
406+
msgstr "以弧度为单位返回 *x* 的反正切值。"
402407

403408
#: ../../library/math.rst:320
404409
msgid ""
@@ -409,6 +414,10 @@ msgid ""
409414
" for the angle. For example, ``atan(1)`` and ``atan2(1, 1)`` are both "
410415
"``pi/4``, but ``atan2(-1, -1)`` is ``-3*pi/4``."
411416
msgstr ""
417+
"以弧度为单位返回 ``atan(y / x)`` 。结果是在 ``-pi`` 和 ``pi`` 之间。从原点到点 ``(x, y)`` "
418+
"的平面矢量使该角度与正X轴成正比。 :func:`atan2` 的点的两个输入的符号都是已知的,因此它可以计算角度的正确象限。 例如, "
419+
"``atan(1)`` 和 ``atan2(1, 1)`` 都是 ``pi/4`` ,但 ``atan2(-1, -1)`` 是 "
420+
"``-3*pi/4`` 。"
412421

413422
#: ../../library/math.rst:330
414423
msgid "Return the cosine of *x* radians."
@@ -418,7 +427,7 @@ msgstr "返回 *x* 弧度的余弦值。"
418427
msgid ""
419428
"Return the Euclidean norm, ``sqrt(x*x + y*y)``. This is the length of the "
420429
"vector from the origin to point ``(x, y)``."
421-
msgstr ""
430+
msgstr "返回欧几里德范数, ``sqrt(x*x + y*y)`` 。 这是从原点到点 ``(x, y)`` 的向量长度。"
422431

423432
#: ../../library/math.rst:341
424433
msgid "Return the sine of *x* radians."
@@ -486,13 +495,17 @@ msgid ""
486495
"Return the `error function <https://en.wikipedia.org/wiki/Error_function>`_ "
487496
"at *x*."
488497
msgstr ""
498+
"返回 *x* 处的 `error function <https://en.wikipedia.org/wiki/Error_function>`_ 。"
489499

490500
#: ../../library/math.rst:407
491501
msgid ""
492502
"The :func:`erf` function can be used to compute traditional statistical "
493503
"functions such as the `cumulative standard normal distribution "
494504
"<https://en.wikipedia.org/wiki/Normal_distribution#Cumulative_distribution_function>`_::"
495505
msgstr ""
506+
":func:`erf` 函数可用于计算传统的统计函数,如 `累积标准正态分布 "
507+
"<https://en.wikipedia.org/wiki/Normal_distribution#Cumulative_distribution_function>`_"
508+
" ::"
496509

497510
#: ../../library/math.rst:420
498511
msgid ""
@@ -502,6 +515,9 @@ msgid ""
502515
"from one would cause a `loss of significance "
503516
"<https://en.wikipedia.org/wiki/Loss_of_significance>`_\\."
504517
msgstr ""
518+
"返回 *x* 处的互补误差函数。 `补充错误函数<https://en.wikipedia.org/wiki/Error_function>`_ 定义为"
519+
" ``1.0 - erf(x)`` 。 它用于 *x* 的大值,从其中减去一个会导致 `loss of significance "
520+
"<https://en.wikipedia.org/wiki/Loss_of_significance>`_\\ 的。"
505521

506522
#: ../../library/math.rst:431
507523
msgid ""
@@ -513,7 +529,7 @@ msgstr "返回 *x* 处的 `伽马函数 <https://en.wikipedia.org/wiki/Gamma_fun
513529
msgid ""
514530
"Return the natural logarithm of the absolute value of the Gamma function at "
515531
"*x*."
516-
msgstr ""
532+
msgstr "返回Gamma函数在 *x* 绝对值的自然对数。"
517533

518534
#: ../../library/math.rst:446
519535
msgid "Constants"
@@ -544,13 +560,13 @@ msgstr ""
544560
msgid ""
545561
"A floating-point positive infinity. (For negative infinity, use "
546562
"``-math.inf``.) Equivalent to the output of ``float('inf')``."
547-
msgstr ""
563+
msgstr "浮点正无穷大。 (对于负无穷大,使用 ``-math.inf`` 。)相当于``float('inf')`` 的输出。"
548564

549565
#: ../../library/math.rst:479
550566
msgid ""
551567
"A floating-point \"not a number\" (NaN) value. Equivalent to the output of "
552568
"``float('nan')``."
553-
msgstr ""
569+
msgstr "浮点“非数字”(NaN)值。 相当于 ``float('nan')`` 的输出。"
554570

555571
#: ../../library/math.rst:487
556572
msgid ""
@@ -566,6 +582,12 @@ msgid ""
566582
"are some exceptions to this rule, for example ``pow(float('nan'), 0.0)`` or "
567583
"``hypot(float('nan'), float('inf'))``."
568584
msgstr ""
585+
":mod:`math` 模块主要包含围绕平台C数学库函数的简单包装器。特殊情况下的行为在适当情况下遵循C99标准的附录F。当前的实现将引发 "
586+
":exc:`ValueError` 用于无效操作,如 ``sqrt(-1.0)`` 或 ``log(0.0)`` "
587+
"(其中C99附件F建议发出无效操作信号或被零除), 和 :exc:`OverflowError` 用于溢出的结果(例如, ``exp(1000.0)``"
588+
" "
589+
")。除非一个或多个输入参数是NaN,否则不会从上述任何函数返回NaN;在这种情况下,大多数函数将返回一个NaN,但是(再次遵循C99附件F)这个规则有一些例外,例如"
590+
" ``pow(float('nan'), 0.0)`` 或 ``hypot(float('nan'), float('inf'))`` 。"
569591

570592
#: ../../library/math.rst:499
571593
msgid ""

library/multiprocessing.po

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# Kade For, 2019
1212
# walkinrain <[email protected]>, 2019
1313
# 叶浚安 <[email protected]>, 2019
14-
# Meng Du <[email protected]>, 2019
1514
# Freesand Leo <[email protected]>, 2019
15+
# Meng Du <[email protected]>, 2019
1616
#
1717
#, fuzzy
1818
msgid ""
@@ -21,7 +21,7 @@ msgstr ""
2121
"Report-Msgid-Bugs-To: \n"
2222
"POT-Creation-Date: 2019-01-26 10:28+0900\n"
2323
"PO-Revision-Date: 2017-02-16 23:19+0000\n"
24-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
24+
"Last-Translator: Meng Du <alphanow@gmail.com>, 2019\n"
2525
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2626
"MIME-Version: 1.0\n"
2727
"Content-Type: text/plain; charset=UTF-8\n"
@@ -656,19 +656,24 @@ msgid ""
656656
" ``WaitForMultipleObjects`` family of API calls. On Unix, this is a file "
657657
"descriptor usable with primitives from the :mod:`select` module."
658658
msgstr ""
659+
"在Windows上,这是一个操作系统句柄,可以与 ``WaitForSingleObject`` 和 "
660+
"``WaitForMultipleObjects`` 系列API调用一起使用。在Unix上,这是一个文件描述符,可以使用来自 :mod:`select`"
661+
" 模块的原语。"
659662

660663
#: ../../library/multiprocessing.rst:593
661664
msgid ""
662665
"Terminate the process. On Unix this is done using the ``SIGTERM`` signal; "
663666
"on Windows :c:func:`TerminateProcess` is used. Note that exit handlers and "
664667
"finally clauses, etc., will not be executed."
665668
msgstr ""
669+
"终止进程。 在Unix上,这是使用 ``SIGTERM`` 信号完成的;在Windows上使用 :c:func:`TerminateProcess` 。"
670+
" 请注意,不会执行退出处理程序和finally子句等。"
666671

667672
#: ../../library/multiprocessing.rst:597
668673
msgid ""
669674
"Note that descendant processes of the process will *not* be terminated -- "
670675
"they will simply become orphaned."
671-
msgstr ""
676+
msgstr "请注意,进程的后代进程将不会被终止 —— 它们将简单地变成孤立的。"
672677

673678
#: ../../library/multiprocessing.rst:602
674679
msgid ""
@@ -678,10 +683,11 @@ msgid ""
678683
"semaphore etc. then terminating it is liable to cause other processes to "
679684
"deadlock."
680685
msgstr ""
686+
"如果在关联进程使用管道或队列时使用此方法,则管道或队列可能会损坏,并可能无法被其他进程使用。类似地,如果进程已获得锁或信号量等,则终止它可能导致其他进程死锁。"
681687

682688
#: ../../library/multiprocessing.rst:610
683689
msgid "Same as :meth:`terminate()` but using the ``SIGKILL`` signal on Unix."
684-
msgstr ""
690+
msgstr "与 :meth:`terminate()` 相同,但在Unix上使用 ``SIGKILL`` 信号。"
685691

686692
#: ../../library/multiprocessing.rst:616
687693
msgid ""
@@ -690,45 +696,49 @@ msgid ""
690696
" Once :meth:`close` returns successfully, most other methods and attributes"
691697
" of the :class:`Process` object will raise :exc:`ValueError`."
692698
msgstr ""
699+
"关闭 :class:`Process` 对象,释放与之关联的所有资源。如果底层进程仍在运行,则会引发 :exc:`ValueError` 。一旦 "
700+
":meth:`close` 成功返回, :class:`Process` 对象的大多数其他方法和属性将引发 :exc:`ValueError` 。"
693701

694702
#: ../../library/multiprocessing.rst:624
695703
msgid ""
696704
"Note that the :meth:`start`, :meth:`join`, :meth:`is_alive`, "
697705
":meth:`terminate` and :attr:`exitcode` methods should only be called by the "
698706
"process that created the process object."
699707
msgstr ""
708+
"注意 :meth:`start` 、 :meth:`join` 、 :meth:`is_alive` 、 :meth:`terminate` 和 "
709+
":attr:`exitcode` 方法只能由创建进程对象的进程调用。"
700710

701711
#: ../../library/multiprocessing.rst:628
702712
msgid "Example usage of some of the methods of :class:`Process`:"
703-
msgstr ""
713+
msgstr ":class:`Process` 一些方法的示例用法:"
704714

705715
#: ../../library/multiprocessing.rst:648
706716
msgid "The base class of all :mod:`multiprocessing` exceptions."
707-
msgstr ""
717+
msgstr "所有 :mod:`multiprocessing` 异常的基类。"
708718

709719
#: ../../library/multiprocessing.rst:652
710720
msgid ""
711721
"Exception raised by :meth:`Connection.recv_bytes_into()` when the supplied "
712722
"buffer object is too small for the message read."
713-
msgstr ""
723+
msgstr "当提供的缓冲区对象太小而无法读取消息时, :meth:`Connection.recv_bytes_into()` 引发的异常。"
714724

715725
#: ../../library/multiprocessing.rst:655
716726
msgid ""
717727
"If ``e`` is an instance of :exc:`BufferTooShort` then ``e.args[0]`` will "
718728
"give the message as a byte string."
719-
msgstr ""
729+
msgstr "如果 ``e`` 是一个 :exc:`BufferTooShort` 实例,那么 ``e.args[0]`` 将把消息作为字节字符串给出。"
720730

721731
#: ../../library/multiprocessing.rst:660
722732
msgid "Raised when there is an authentication error."
723-
msgstr ""
733+
msgstr "出现身份验证错误时引发。"
724734

725735
#: ../../library/multiprocessing.rst:664
726736
msgid "Raised by methods with a timeout when the timeout expires."
727-
msgstr ""
737+
msgstr "有超时的方法超时时引发。"
728738

729739
#: ../../library/multiprocessing.rst:667
730740
msgid "Pipes and Queues"
731-
msgstr ""
741+
msgstr "管道和队列"
732742

733743
#: ../../library/multiprocessing.rst:669
734744
msgid ""
@@ -1062,11 +1072,11 @@ msgstr ""
10621072

10631073
#: ../../library/multiprocessing.rst:923
10641074
msgid "May raise :exc:`NotImplementedError`."
1065-
msgstr ""
1075+
msgstr "可能引发 :exc:`NotImplementedError` 。"
10661076

10671077
#: ../../library/multiprocessing.rst:926
10681078
msgid ":func:`os.cpu_count`"
1069-
msgstr ""
1079+
msgstr ":func:`os.cpu_count`"
10701080

10711081
#: ../../library/multiprocessing.rst:930
10721082
msgid ""

0 commit comments

Comments
 (0)