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

Skip to content

Commit b3cc87f

Browse files
[po] auto sync
1 parent fe24efa commit b3cc87f

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

library/fractions.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,22 +144,24 @@ msgid ""
144144
"denominator at most max_denominator. This method is useful for finding "
145145
"rational approximations to a given floating-point number:"
146146
msgstr ""
147+
"找到并返回一个 :class:`Fraction` 使得其值最接近 ``self`` 并且分母不大于 max_denominator。 "
148+
"此方法适用于找出给定浮点数的有理数近似值:"
147149

148150
#: ../../library/fractions.rst:131
149151
msgid "or for recovering a rational number that's represented as a float:"
150-
msgstr ""
152+
msgstr "或是用来恢复被表示为一个浮点数的有理数:"
151153

152154
#: ../../library/fractions.rst:144
153155
msgid ""
154156
"Returns the greatest :class:`int` ``<= self``. This method can also be "
155157
"accessed through the :func:`math.floor` function:"
156-
msgstr ""
158+
msgstr "返回最大的 :class:`int` ``<= self``。 此方法也可通过 :func:`math.floor` 函数来访问:"
157159

158160
#: ../../library/fractions.rst:154
159161
msgid ""
160162
"Returns the least :class:`int` ``>= self``. This method can also be "
161163
"accessed through the :func:`math.ceil` function."
162-
msgstr ""
164+
msgstr "返回最小的 :class:`int` ``>= self``。 此方法也可通过 :func:`math.ceil` 函数来访问。"
163165

164166
#: ../../library/fractions.rst:161
165167
msgid ""
@@ -169,6 +171,9 @@ msgid ""
169171
"rounding half toward even. This method can also be accessed through the "
170172
":func:`round` function."
171173
msgstr ""
174+
"第一个版本返回一个 :class:`int` 使得其值最接近 ``self``,位值为二分之一时只对偶数舍入。第二个版本会将 ``self`` "
175+
"舍入到最接近 ``Fraction(1, 10**ndigits)`` 的倍数(如果 ``ndigits`` "
176+
"为负值则为逻辑运算),位值为二分之一时同样只对偶数舍入。 此方法也可通过 :func:`round` 函数来访问。"
172177

173178
#: ../../library/fractions.rst:170
174179
msgid ""

whatsnew/2.4.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ msgstr "韩语: cp949, euc-kr, johab, iso-2022-kr"
11941194
msgid ""
11951195
"Some other new encodings were added: HP Roman8, ISO_8859-11, ISO_8859-16, "
11961196
"PCTP-154, and TIS-620."
1197-
msgstr ""
1197+
msgstr "添加了其他一些新的编码:HP Roman8, ISO_8859-11, ISO_8859-16, PCTP-154 和 TIS-620"
11981198

11991199
#: ../../whatsnew/2.4.rst:1024
12001200
msgid ""
@@ -1544,7 +1544,7 @@ msgstr ""
15441544
msgid ""
15451545
"The :mod:`mpz`, :mod:`rotor`, and :mod:`xreadlines` modules have been "
15461546
"removed."
1547-
msgstr ""
1547+
msgstr ":mod:`mpz`, :mod:`rotor` 和 :mod:`xreadlines` 模块已被移除。"
15481548

15491549
#: ../../whatsnew/2.4.rst:1323
15501550
msgid "cookielib"

0 commit comments

Comments
 (0)