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

Skip to content

Commit 49df039

Browse files
[po] auto sync
1 parent d0e74ee commit 49df039

4 files changed

Lines changed: 6671 additions & 6650 deletions

File tree

c-api/long.po

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,18 +169,21 @@ msgid ""
169169
":meth:`__int__` method (if present) to convert it to a "
170170
":c:type:`PyLongObject`."
171171
msgstr ""
172+
"返回 *obj* 的 C :c:type:`long` 表达方式。 如果 *obj* 不是 :c:type:`PyLongObject` "
173+
"的实例,先调用它的 :meth:`__index__` 或 :meth:`__int__` 方法(如果有)将其转换为 "
174+
":c:type:`PyLongObject` 。"
172175

173176
#: ../../c-api/long.rst:132
174177
msgid ""
175178
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a "
176179
":c:type:`long`."
177-
msgstr ""
180+
msgstr "如果 *obj* 的值溢出了 :c:type:`long` 的范围,会引发 :exc:`OverflowError`。"
178181

179182
#: ../../c-api/long.rst:135 ../../c-api/long.rst:156 ../../c-api/long.rst:178
180183
#: ../../c-api/long.rst:199 ../../c-api/long.rst:222
181184
msgid ""
182185
"Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
183-
msgstr ""
186+
msgstr "发生错误时返回 ``-1`` 。使用 :c:func:`PyErr_Occurred` 来消歧义。"
184187

185188
#: ../../c-api/long.rst:137 ../../c-api/long.rst:158 ../../c-api/long.rst:180
186189
#: ../../c-api/long.rst:203 ../../c-api/long.rst:288 ../../c-api/long.rst:308
@@ -190,7 +193,7 @@ msgstr "如果可用将使用 :meth:`__index__`。"
190193
#: ../../c-api/long.rst:140 ../../c-api/long.rst:161 ../../c-api/long.rst:183
191194
#: ../../c-api/long.rst:206 ../../c-api/long.rst:291 ../../c-api/long.rst:311
192195
msgid "Using :meth:`__int__` is deprecated."
193-
msgstr ""
196+
msgstr ":meth:`__int__` 已被弃用。"
194197

195198
#: ../../c-api/long.rst:151
196199
msgid ""

library/stdtypes.po

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
# Arisaka97 <[email protected]>, 2019
2020
# Freesand Leo <[email protected]>, 2019
2121
# zkonge <[email protected]>, 2019
22+
# Sean Chao <[email protected]>, 2020
2223
#
2324
#, fuzzy
2425
msgid ""
@@ -27,7 +28,7 @@ msgstr ""
2728
"Report-Msgid-Bugs-To: \n"
2829
"POT-Creation-Date: 2020-05-31 09:25+0000\n"
2930
"PO-Revision-Date: 2017-02-16 23:27+0000\n"
30-
"Last-Translator: zkonge <zkonge@outlook.com>, 2019\n"
31+
"Last-Translator: Sean Chao <seanchao0804@gmail.com>, 2020\n"
3132
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
3233
"MIME-Version: 1.0\n"
3334
"Content-Type: text/plain; charset=UTF-8\n"
@@ -407,12 +408,15 @@ msgid ""
407408
" of different types behaves as though the exact values of those numbers were"
408409
" being compared. [2]_"
409410
msgstr ""
411+
"Python "
412+
"完全支持混合运算:当一个二元算术运算符的操作数有不同数值类型时,\"较窄\"类型的操作数会拓宽到另一个操作数的类型,其中整数比浮点数窄,浮点数比复数窄。不同类型的数字之间的比较,同比较这些数字的精确值一样。[2]_"
413+
" "
410414

411415
#: ../../library/stdtypes.rst:267
412416
msgid ""
413417
"The constructors :func:`int`, :func:`float`, and :func:`complex` can be used"
414418
" to produce numbers of a specific type."
415-
msgstr ""
419+
msgstr "构造函数 :func:`int`、 :func:`float` 和 :func:`complex` 可以用来构造特定类型的数字。"
416420

417421
#: ../../library/stdtypes.rst:270
418422
msgid ""
@@ -644,6 +648,9 @@ msgid ""
644648
"https://www.unicode.org/Public/13.0.0/ucd/extracted/DerivedNumericType.txt "
645649
"for a complete list of code points with the ``Nd`` property."
646650
msgstr ""
651+
"请参阅 "
652+
"https://www.unicode.org/Public/13.0.0/ucd/extracted/DerivedNumericType.txt "
653+
"查看具有 ``Nd`` 特征属性的代码点的完整列表。"
647654

648655
#: ../../library/stdtypes.rst:359
649656
msgid ""
@@ -788,12 +795,12 @@ msgstr "负的移位数是非法的,会导致引发 :exc:`ValueError`。"
788795
#: ../../library/stdtypes.rst:437
789796
msgid ""
790797
"A left shift by *n* bits is equivalent to multiplication by ``pow(2, n)``."
791-
msgstr ""
798+
msgstr "左移 *n* 位等价于乘以 ``pow(2, n)`` 。"
792799

793800
#: ../../library/stdtypes.rst:440
794801
msgid ""
795802
"A right shift by *n* bits is equivalent to floor division by ``pow(2, n)``."
796-
msgstr ""
803+
msgstr "右移 *n* 位等价于除以 ``pow(2, n)`` ,作向下取整除法。"
797804

798805
#: ../../library/stdtypes.rst:443
799806
msgid ""
@@ -2320,14 +2327,15 @@ msgstr ""
23202327
msgid ""
23212328
"If the string starts with the *prefix* string, return "
23222329
"``string[len(prefix):]``. Otherwise, return a copy of the original string::"
2323-
msgstr ""
2330+
msgstr "如果字符串以 *前缀* 字符串开头,返回 ``string[len(prefix):]`` 。否则,返回原始字符串的副本:"
23242331

23252332
#: ../../library/stdtypes.rst:1565
23262333
msgid ""
23272334
"If the string ends with the *suffix* string and that *suffix* is not empty, "
23282335
"return ``string[:-len(suffix)]``. Otherwise, return a copy of the original "
23292336
"string::"
23302337
msgstr ""
2338+
"如果字符串以 *后缀* 字符串结尾,并且 *后缀* 非空,返回 ``string[:-len(suffix)]`` 。否则,返回原始字符串的副本:"
23312339

23322340
#: ../../library/stdtypes.rst:1579
23332341
msgid ""
@@ -2352,14 +2360,16 @@ msgid ""
23522360
"only used at the first encoding error. Enable the :ref:`Python Development "
23532361
"Mode <devmode>`, or use a debug build to check *errors*."
23542362
msgstr ""
2363+
"*errors* 参数默认不会被检查,以获得最佳性能,而只在第一次编码错误时使用。启用 :ref:`Python 开发模式 <devmode>` "
2364+
",或者使用调试构建来检查 *errors* 。"
23552365

23562366
#: ../../library/stdtypes.rst:1592
23572367
msgid "Support for keyword arguments added."
23582368
msgstr "加入了对关键字参数的支持。"
23592369

23602370
#: ../../library/stdtypes.rst:1595 ../../library/stdtypes.rst:2702
23612371
msgid "The *errors* is now checked in development mode and in debug mode."
2362-
msgstr ""
2372+
msgstr "*errors* 现在在开发模式和调试模式下都会被检查。"
23632373

23642374
#: ../../library/stdtypes.rst:1601
23652375
msgid ""

0 commit comments

Comments
 (0)