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

Skip to content

Commit 2d6c85a

Browse files
[po] auto sync
1 parent 230e227 commit 2d6c85a

2 files changed

Lines changed: 20 additions & 10 deletions

File tree

library/xml.sax.reader.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ msgid ""
301301
"Assume the end of the document. That will check well-formedness conditions "
302302
"that can be checked only at the end, invoke handlers, and may clean up "
303303
"resources allocated during parsing."
304-
msgstr ""
304+
msgstr "确定文档的结尾。 这将检查只能在结尾处检查的格式是否良好的条件,发起调用处理程序,并可能会清理在解析期间分配的资源。"
305305

306306
#: ../../library/xml.sax.reader.rst:224
307307
msgid ""

reference/expressions.po

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ msgstr ""
13631363
#: ../../reference/expressions.rst:1141
13641364
msgid ""
13651365
"This operation can be customized using the special :meth:`__pow__` method."
1366-
msgstr ""
1366+
msgstr "此运算符可使用特殊的 :meth:`__pow__` 方法来自定义。"
13671367

13681368
#: ../../reference/expressions.rst:1146
13691369
msgid "Unary arithmetic and bitwise operations"
@@ -1378,13 +1378,13 @@ msgid ""
13781378
"The unary ``-`` (minus) operator yields the negation of its numeric "
13791379
"argument; the operation can be overridden with the :meth:`__neg__` special "
13801380
"method."
1381-
msgstr ""
1381+
msgstr "单目的 ``-`` (负值) 运算符会产生其数字参数的负值;该运算可通过 :meth:`__neg__` 特殊方法来重载。"
13821382

13831383
#: ../../reference/expressions.rst:1171
13841384
msgid ""
13851385
"The unary ``+`` (plus) operator yields its numeric argument unchanged; the "
13861386
"operation can be overridden with the :meth:`__pos__` special method."
1387-
msgstr ""
1387+
msgstr "单目的 ``+`` (正值) 运算符会原样输出其数字参数;该运算可通过 :meth:`__pos__` 特殊方法来重载。"
13881388

13891389
#: ../../reference/expressions.rst:1178
13901390
msgid ""
@@ -1393,6 +1393,8 @@ msgid ""
13931393
" It only applies to integral numbers or to custom objects that override the"
13941394
" :meth:`__invert__` special method."
13951395
msgstr ""
1396+
"单目的 ``~`` (取反) 运算符会对其整数参数按位取反。 ``x`` 的按位取反被定义为 ``-(x+1)``。 它只作用于整数或是重载了 "
1397+
":meth:`__invert__` 特殊方法的自定义对象。"
13961398

13971399
#: ../../reference/expressions.rst:1187
13981400
msgid ""
@@ -1430,7 +1432,7 @@ msgstr ""
14301432
msgid ""
14311433
"This operation can be customized using the special :meth:`__mul__` and "
14321434
":meth:`__rmul__` methods."
1433-
msgstr ""
1435+
msgstr "此运算可使用特殊的 :meth:`__mul__` 和 :meth:`__rmul__` 方法来自定义。"
14341436

14351437
#: ../../reference/expressions.rst:1226
14361438
msgid ""
@@ -1455,7 +1457,7 @@ msgstr ""
14551457
msgid ""
14561458
"This operation can be customized using the special :meth:`__div__` and "
14571459
":meth:`__floordiv__` methods."
1458-
msgstr ""
1460+
msgstr "此运算可使用特殊的 :meth:`__div__` 和 :meth:`__floordiv__` 方法来自定义。"
14591461

14601462
#: ../../reference/expressions.rst:1251
14611463
msgid ""
@@ -1498,7 +1500,7 @@ msgstr ""
14981500
msgid ""
14991501
"The *modulo* operation can be customized using the special :meth:`__mod__` "
15001502
"method."
1501-
msgstr ""
1503+
msgstr "*取余* 运算可使用特殊的 :meth:`__mod__` 方法来自定义。"
15021504

15031505
#: ../../reference/expressions.rst:1272
15041506
msgid ""
@@ -1522,7 +1524,7 @@ msgstr ""
15221524
msgid ""
15231525
"This operation can be customized using the special :meth:`__add__` and "
15241526
":meth:`__radd__` methods."
1525-
msgstr ""
1527+
msgstr "此运算可使用特殊的 :meth:`__add__` 和 :meth:`__radd__` 方法来自定义。"
15261528

15271529
#: ../../reference/expressions.rst:1294
15281530
msgid ""
@@ -1533,7 +1535,7 @@ msgstr "运算符 ``-`` (减) 将输出其参数的差。 两个数字参数将
15331535
#: ../../reference/expressions.rst:1297
15341536
msgid ""
15351537
"This operation can be customized using the special :meth:`__sub__` method."
1536-
msgstr ""
1538+
msgstr "此运算可使用特殊的 :meth:`__sub__` 方法来自定义。"
15371539

15381540
#: ../../reference/expressions.rst:1303
15391541
msgid "Shifting operations"
@@ -1554,7 +1556,7 @@ msgstr "这些运算符接受整数参数。 它们会将第一个参数左移
15541556
msgid ""
15551557
"This operation can be customized using the special :meth:`__lshift__` and "
15561558
":meth:`__rshift__` methods."
1557-
msgstr ""
1559+
msgstr "此运算可使用特殊的 :meth:`__lshift__` 和 :meth:`__rshift__` 方法来自定义。"
15581560

15591561
#: ../../reference/expressions.rst:1323
15601562
msgid ""
@@ -1576,20 +1578,26 @@ msgid ""
15761578
"integers or one of them must be a custom object overriding :meth:`__and__` "
15771579
"or :meth:`__rand__` special methods."
15781580
msgstr ""
1581+
"``&`` 运算符会对其参数执行按位 AND,参数必须都为整数或者其中之一必须为重载了 :meth:`__and__` 或 "
1582+
":meth:`__rand__` 特殊方法的自定义对象。"
15791583

15801584
#: ../../reference/expressions.rst:1354
15811585
msgid ""
15821586
"The ``^`` operator yields the bitwise XOR (exclusive OR) of its arguments, "
15831587
"which must be integers or one of them must be a custom object overriding "
15841588
":meth:`__xor__` or :meth:`__rxor__` special methods."
15851589
msgstr ""
1590+
"``^`` 运算符会对其参数执行按位 XOR (异 OR),参数必须都为整数或者其中之一必须为重载了 :meth:`__xor__` 或 "
1591+
":meth:`__rxor__` 特殊方法的自定义对象。"
15861592

15871593
#: ../../reference/expressions.rst:1363
15881594
msgid ""
15891595
"The ``|`` operator yields the bitwise (inclusive) OR of its arguments, which"
15901596
" must be integers or one of them must be a custom object overriding "
15911597
":meth:`__or__` or :meth:`__ror__` special methods."
15921598
msgstr ""
1599+
"``|`` 运算符会对其参数执行按位 (合并) OR,参数必须都为整数或者其中之一必须为重载了 :meth:`__or__` 或 "
1600+
":meth:`__ror__` 特殊方法的自定义对象。"
15931601

15941602
#: ../../reference/expressions.rst:1371
15951603
msgid "Comparisons"
@@ -1611,6 +1619,8 @@ msgid ""
16111619
"comparison methods` may return non-boolean values. In this case Python will "
16121620
"call :func:`bool` on such value in boolean contexts."
16131621
msgstr ""
1622+
"比较运算会产生布尔值: ``True`` 或 ``False``。 自定义的 :dfn:`富比较方法` 可能返回非布尔值。 在此情况下 Python "
1623+
"将在布尔运算上下文中对该值调用 :func:`bool`。"
16141624

16151625
#: ../../reference/expressions.rst:1399
16161626
msgid ""

0 commit comments

Comments
 (0)