Skip to content

Commit 5422aac

Browse files
[po] auto sync
1 parent b25ead0 commit 5422aac

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

library/functions.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ msgstr ""
11481148
msgid ""
11491149
"The default *format_spec* is an empty string which usually gives the same "
11501150
"effect as calling :func:`str(value) <str>`."
1151-
msgstr "默认的 *format_spec* 是一个空字符串,它通常和调用 :func:`str(value)<str>` 的结果相同。"
1151+
msgstr "默认的 *format_spec* 是一个空字符串,它通常给出与调用 :func:`str(value)<str>` 相同的结果。"
11521152

11531153
#: ../../library/functions.rst:647
11541154
msgid ""
@@ -1160,8 +1160,8 @@ msgid ""
11601160
"*format_spec* or the return value are not strings."
11611161
msgstr ""
11621162
"调用 ``format(value, format_spec)`` 会转换成 ``type(value).__format__(value, "
1163-
"format_spec)`` ,所以实例字典中的 :meth:`__format__` 方法将不会调用。如果搜索到 :mod:`object` "
1164-
"有这个方法但 *format_spec* 不为空,*format_spec* 或返回值不是字符串,会触发 :exc:`TypeError` 异常。"
1163+
"format_spec)`` ,所以实例字典中的 :meth:`__format__` 方法将不会调用。如果方法搜索回退到 :mod:`object` "
1164+
"类但 *format_spec* 不为空,或者如果 *format_spec* 或返回值不是字符串,则会触发 :exc:`TypeError` 异常。"
11651165

11661166
#: ../../library/functions.rst:654
11671167
msgid ""

library/random.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <yuqinju@163.com>, 2020
87
# Meng Du <alphanow@gmail.com>, 2020
8+
# Freesand Leo <yuqinju@163.com>, 2021
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2021-01-01 16:06+0000\n"
1616
"PO-Revision-Date: 2020-05-30 12:08+0000\n"
17-
"Last-Translator: Meng Du <alphanow@gmail.com>, 2020\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
1818
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -461,8 +461,8 @@ msgid ""
461461
"to zero. If *kappa* is equal to zero, this distribution reduces to a "
462462
"uniform random angle over the range 0 to 2\\*\\ *pi*."
463463
msgstr ""
464-
"冯·米塞斯(von Mises)分布。 *mu* 是平均角度,以弧度表示,介于0和 2\\*\\ *pi* 之间,*kappa* "
465-
"是浓度参数,必须大于或等于零。 如果 *kappa* 等于零,则该分布在 0 到 2\\*\\ *pi* 的范围内减小到均匀的随机角度。"
464+
"冯·米塞斯分布。 *mu* 是平均角度,以弧度表示,介于0和 2\\*\\ *pi* 之间,*kappa* 是浓度参数,必须大于或等于零。 如果 "
465+
"*kappa* 等于零,则该分布在 0 到 2\\*\\ *pi* 的范围内减小到均匀的随机角度。"
466466

467467
#: ../../library/random.rst:302
468468
msgid "Pareto distribution. *alpha* is the shape parameter."
@@ -482,7 +482,7 @@ msgstr "替代生成器"
482482
msgid ""
483483
"Class that implements the default pseudo-random number generator used by the"
484484
" :mod:`random` module."
485-
msgstr "该类实现了 :mod:`random` 模块所用的默认伪随机数生成器。"
485+
msgstr "该类实现了 :mod:`random` 模块所用的默认伪随机数生成器。"
486486

487487
#: ../../library/random.rst:321
488488
msgid ""

0 commit comments

Comments
 (0)