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

Skip to content

Commit 30439ef

Browse files
[po] auto sync
1 parent 72a6947 commit 30439ef

2 files changed

Lines changed: 19 additions & 12 deletions

File tree

library/io.po

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ msgstr "返回新的绝对位置。"
573573

574574
#: ../../library/io.rst:345 ../../library/io.rst:852
575575
msgid "The ``SEEK_*`` constants."
576-
msgstr ""
576+
msgstr "``SEEK_*`` 常量."
577577

578578
#: ../../library/io.rst:348
579579
msgid ""
@@ -898,7 +898,7 @@ msgstr ""
898898

899899
#: ../../library/io.rst:596
900900
msgid "The *opener* parameter was added. The ``'x'`` mode was added."
901-
msgstr ""
901+
msgstr "增加了 *opener* 参数。增加了 ``'x'`` 模式。"
902902

903903
#: ../../library/io.rst:600
904904
msgid "The file is now non-inheritable."
@@ -918,7 +918,7 @@ msgstr "构造函数中给定的模式。"
918918
msgid ""
919919
"The file name. This is the file descriptor of the file when no name is "
920920
"given in the constructor."
921-
msgstr ""
921+
msgstr "文件名。当构造函数中没有给定名称时,这是文件的文件描述符。"
922922

923923
#: ../../library/io.rst:618
924924
msgid "Buffered Streams"
@@ -968,7 +968,7 @@ msgstr ""
968968

969969
#: ../../library/io.rst:660
970970
msgid "In :class:`BytesIO`, this is the same as :meth:`~BufferedIOBase.read`."
971-
msgstr ""
971+
msgstr "在 :class:`BytesIO` 中,这与 :meth:`~BufferedIOBase.read` 相同。"
972972

973973
#: ../../library/io.rst:662 ../../library/io.rst:703
974974
msgid "The *size* argument is now optional."
@@ -977,7 +977,7 @@ msgstr "*size* 参数现在是可选的。"
977977
#: ../../library/io.rst:667
978978
msgid ""
979979
"In :class:`BytesIO`, this is the same as :meth:`~BufferedIOBase.readinto`."
980-
msgstr ""
980+
msgstr "在 :class:`BytesIO` 中,这与 :meth:`~BufferedIOBase.readinto` 相同。"
981981

982982
#: ../../library/io.rst:673
983983
msgid ""
@@ -1191,7 +1191,7 @@ msgstr ""
11911191

11921192
#: ../../library/io.rst:832
11931193
msgid "If *size* is specified, at most *size* characters will be read."
1194-
msgstr ""
1194+
msgstr "如果指定了 *size* ,最多将读取 *size* 个字符。"
11951195

11961196
#: ../../library/io.rst:836
11971197
msgid ""
@@ -1409,7 +1409,7 @@ msgstr "性能"
14091409
msgid ""
14101410
"This section discusses the performance of the provided concrete I/O "
14111411
"implementations."
1412-
msgstr ""
1412+
msgstr "本节讨论所提供的具体 I/O 实现的性能。"
14131413

14141414
#: ../../library/io.rst:1021
14151415
msgid ""
@@ -1457,6 +1457,9 @@ msgid ""
14571457
":class:`BufferedRWPair`) protect their internal structures using a lock; it "
14581458
"is therefore safe to call them from multiple threads at once."
14591459
msgstr ""
1460+
"二进制缓冲对象(例如 :class:`BufferedReader`, :class:`BufferedWriter`, "
1461+
":class:`BufferedRandom` 和 "
1462+
":class:`BufferedRWPair`)使用锁来保护其内部结构;因此,可以安全地一次从多个线程中调用它们。"
14601463

14611464
#: ../../library/io.rst:1054
14621465
msgid ":class:`TextIOWrapper` objects are not thread-safe."

library/statistics.po

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ msgstr ""
533533
msgid ""
534534
"Return the population standard deviation (the square root of the population "
535535
"variance). See :func:`pvariance` for arguments and other details."
536-
msgstr ""
536+
msgstr "返回总体标准差(总体方差的平方根)。 请参阅 :func:`pvariance` 了解参数和其他细节。"
537537

538538
#: ../../library/statistics.rst:384
539539
msgid ""
@@ -543,6 +543,8 @@ msgid ""
543543
" indicates that the data is spread out; a small variance indicates it is "
544544
"clustered closely around the mean."
545545
msgstr ""
546+
"返回非空序列或包含实数值的可迭代对象 *data* 的总体方差。 方差或称相对于均值的二阶距,是对数据变化幅度(延展度或分散度)的度量。 "
547+
"方差值较大表明数据的散布范围较大;方差值较小表明它紧密聚集于均值附近。"
546548

547549
#: ../../library/statistics.rst:390
548550
msgid ""
@@ -551,17 +553,19 @@ msgid ""
551553
" that is not the mean. If it is missing or ``None`` (the default), the "
552554
"arithmetic mean is automatically calculated."
553555
msgstr ""
556+
"如果给出了可选的第二个参数 *mu*,它通常是 *data* 的均值。 它也可以被用来计算相对于一个非均值点的二阶距。 如果该参数省略或为 "
557+
"``None`` (默认值),则会自动进行算术均值的计算。"
554558

555559
#: ../../library/statistics.rst:395
556560
msgid ""
557561
"Use this function to calculate the variance from the entire population. To "
558562
"estimate the variance from a sample, the :func:`variance` function is "
559563
"usually a better choice."
560-
msgstr ""
564+
msgstr "使用此函数可根据所有数值来计算方差。 要根据一个样本来估算方差,通常 :func:`variance` 函数是更好的选择。"
561565

562566
#: ../../library/statistics.rst:399
563567
msgid "Raises :exc:`StatisticsError` if *data* is empty."
564-
msgstr ""
568+
msgstr "如果 *data* 为空则会引发 :exc:`StatisticsError`。"
565569

566570
#: ../../library/statistics.rst:401 ../../library/statistics.rst:471
567571
msgid "Examples:"
@@ -571,11 +575,11 @@ msgstr "示例:"
571575
msgid ""
572576
"If you have already calculated the mean of your data, you can pass it as the"
573577
" optional second argument *mu* to avoid recalculation:"
574-
msgstr ""
578+
msgstr "如果你已经计算过数据的平均值,你可以将其作为可选的第二个参数 *mu* 传入以避免重复计算:"
575579

576580
#: ../../library/statistics.rst:418
577581
msgid "Decimals and Fractions are supported:"
578-
msgstr ""
582+
msgstr "同样也支持使用 Decimal 和 Fraction 值:"
579583

580584
#: ../../library/statistics.rst:432
581585
msgid ""

0 commit comments

Comments
 (0)