Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit77219c1

Browse files
sync with cpython ed567c1e
1 parent37a9196 commit77219c1

File tree

1 file changed

+36
-34
lines changed

1 file changed

+36
-34
lines changed

‎reference/expressions.po

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2024-01-18 00:03+0000\n"
10+
"POT-Creation-Date:2024-01-23 00:03+0000\n"
1111
"PO-Revision-Date:2018-05-23 16:17+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1011,8 +1011,8 @@ msgstr ""
10111011
msgid""
10121012
"The primary must evaluate to a callable object (user-defined functions, "
10131013
"built-in functions, methods of built-in objects, class objects, methods of "
1014-
"class instances, and all objects having a :meth:`__call__` method are "
1015-
"callable). All argument expressions are evaluated before the call is "
1014+
"class instances, and all objects having a :meth:`~object.__call__` method "
1015+
"arecallable). All argument expressions are evaluated before the call is "
10161016
"attempted. Please refer to section :ref:`function` for the syntax of "
10171017
"formal :term:`parameter` lists."
10181018
msgstr""
@@ -1182,8 +1182,8 @@ msgstr ""
11821182

11831183
#:../../reference/expressions.rst:1155
11841184
msgid""
1185-
"The class must define a :meth:`__call__` method; the effect is then the same "
1186-
"as if that method was called."
1185+
"The class must define a :meth:`~object.__call__` method; the effect is then "
1186+
"the sameas if that method was called."
11871187
msgstr""
11881188

11891189
#:../../reference/expressions.rst:1163../../reference/expressions.rst:1945
@@ -1238,7 +1238,8 @@ msgstr ""
12381238

12391239
#:../../reference/expressions.rst:1207
12401240
msgid""
1241-
"This operation can be customized using the special :meth:`__pow__` method."
1241+
"This operation can be customized using the special :meth:`~object.__pow__` "
1242+
"method."
12421243
msgstr""
12431244

12441245
#:../../reference/expressions.rst:1212
@@ -1252,22 +1253,22 @@ msgstr ""
12521253
#:../../reference/expressions.rst:1229
12531254
msgid""
12541255
"The unary ``-`` (minus) operator yields the negation of its numeric "
1255-
"argument; the operation can be overridden with the :meth:`__neg__` special "
1256-
"method."
1256+
"argument; the operation can be overridden with the :meth:`~object.__neg__` "
1257+
"specialmethod."
12571258
msgstr""
12581259

12591260
#:../../reference/expressions.rst:1237
12601261
msgid""
12611262
"The unary ``+`` (plus) operator yields its numeric argument unchanged; the "
1262-
"operation can be overridden with the :meth:`__pos__` special method."
1263+
"operation can be overridden with the :meth:`~object.__pos__` special method."
12631264
msgstr""
12641265

12651266
#:../../reference/expressions.rst:1244
12661267
msgid""
12671268
"The unary ``~`` (invert) operator yields the bitwise inversion of its "
12681269
"integer argument. The bitwise inversion of ``x`` is defined as ``-(x+1)``. "
12691270
"It only applies to integral numbers or to custom objects that override the :"
1270-
"meth:`__invert__` special method."
1271+
"meth:`~object.__invert__` special method."
12711272
msgstr""
12721273

12731274
#:../../reference/expressions.rst:1253
@@ -1300,8 +1301,8 @@ msgstr ""
13001301

13011302
#:../../reference/expressions.rst:1285
13021303
msgid""
1303-
"This operation can be customized using the special :meth:`__mul__`and :meth:"
1304-
"`__rmul__` methods."
1304+
"This operation can be customized using the special :meth:`~object.__mul__` "
1305+
"and :meth:`~object.__rmul__` methods."
13051306
msgstr""
13061307

13071308
#:../../reference/expressions.rst:1292
@@ -1322,8 +1323,8 @@ msgstr ""
13221323

13231324
#:../../reference/expressions.rst:1310
13241325
msgid""
1325-
"This operation can be customized using the special :meth:`__truediv__` and :"
1326-
"meth:`__floordiv__` methods."
1326+
"This operation can be customized using the special :meth:`~object."
1327+
"__truediv__` and :meth:`~object.__floordiv__` methods."
13271328
msgstr""
13281329

13291330
#:../../reference/expressions.rst:1317
@@ -1357,8 +1358,8 @@ msgstr ""
13571358

13581359
#:../../reference/expressions.rst:1336
13591360
msgid""
1360-
"The *modulo* operation can be customized using the special :meth:`__mod__`"
1361-
"method."
1361+
"The *modulo* operation can be customized using the special :meth:`~object."
1362+
"__mod__`method."
13621363
msgstr""
13631364

13641365
#:../../reference/expressions.rst:1338
@@ -1378,8 +1379,8 @@ msgstr ""
13781379

13791380
#:../../reference/expressions.rst:1352
13801381
msgid""
1381-
"This operation can be customized using the special :meth:`__add__`and :meth:"
1382-
"`__radd__` methods."
1382+
"This operation can be customized using the special :meth:`~object.__add__` "
1383+
"and :meth:`~object.__radd__` methods."
13831384
msgstr""
13841385

13851386
#:../../reference/expressions.rst:1360
@@ -1390,7 +1391,8 @@ msgstr ""
13901391

13911392
#:../../reference/expressions.rst:1363
13921393
msgid""
1393-
"This operation can be customized using the special :meth:`__sub__` method."
1394+
"This operation can be customized using the special :meth:`~object.__sub__` "
1395+
"method."
13941396
msgstr""
13951397

13961398
#:../../reference/expressions.rst:1369
@@ -1410,8 +1412,8 @@ msgstr ""
14101412

14111413
#:../../reference/expressions.rst:1384
14121414
msgid""
1413-
"This operation can be customized using the special :meth:`__lshift__` and :"
1414-
"meth:`__rshift__` methods."
1415+
"This operation can be customized using the special :meth:`~object."
1416+
"__lshift__` and :meth:`~object.__rshift__` methods."
14151417
msgstr""
14161418

14171419
#:../../reference/expressions.rst:1389
@@ -1431,22 +1433,22 @@ msgstr ""
14311433
#:../../reference/expressions.rst:1411
14321434
msgid""
14331435
"The ``&`` operator yields the bitwise AND of its arguments, which must be "
1434-
"integers or one of them must be a custom object overriding :meth:`__and__`"
1435-
"or :meth:`__rand__` special methods."
1436+
"integers or one of them must be a custom object overriding :meth:`~object."
1437+
"__and__`or :meth:`~object.__rand__` special methods."
14361438
msgstr""
14371439

14381440
#:../../reference/expressions.rst:1420
14391441
msgid""
14401442
"The ``^`` operator yields the bitwise XOR (exclusive OR) of its arguments, "
14411443
"which must be integers or one of them must be a custom object overriding :"
1442-
"meth:`__xor__` or :meth:`__rxor__` special methods."
1444+
"meth:`~object.__xor__` or :meth:`~object.__rxor__` special methods."
14431445
msgstr""
14441446

14451447
#:../../reference/expressions.rst:1429
14461448
msgid""
14471449
"The ``|`` operator yields the bitwise (inclusive) OR of its arguments, which "
14481450
"must be integers or one of them must be a custom object overriding :meth:"
1449-
"`__or__` or :meth:`__ror__` special methods."
1451+
"`~object.__or__` or :meth:`~object.__ror__` special methods."
14501452
msgstr""
14511453

14521454
#:../../reference/expressions.rst:1437
@@ -1518,7 +1520,7 @@ msgid ""
15181520
"Because all types are (direct or indirect) subtypes of :class:`object`, they "
15191521
"inherit the default comparison behavior from :class:`object`. Types can "
15201522
"customize their comparison behavior by implementing :dfn:`rich comparison "
1521-
"methods` like :meth:`__lt__`, described in :ref:`customization`."
1523+
"methods` like :meth:`~object.__lt__`, described in :ref:`customization`."
15221524
msgstr""
15231525

15241526
#:../../reference/expressions.rst:1501
@@ -1789,18 +1791,18 @@ msgstr ""
17891791

17901792
#:../../reference/expressions.rst:1662
17911793
msgid""
1792-
"For user-defined classes which define the :meth:`__contains__` method, ``x "
1793-
"in y`` returns ``True`` if ``y.__contains__(x)`` returns a true value, and "
1794-
"``False`` otherwise."
1794+
"For user-defined classes which define the :meth:`~object.__contains__` "
1795+
"method, ``xin y`` returns ``True`` if ``y.__contains__(x)`` returns a true "
1796+
"value, and``False`` otherwise."
17951797
msgstr""
17961798

17971799
#:../../reference/expressions.rst:1666
17981800
msgid""
1799-
"For user-defined classes which do not define :meth:`__contains__` but do "
1800-
"define :meth:`__iter__`, ``x in y`` is ``True`` if some value ``z``, for "
1801-
"which the expression ``x is z or x == z`` is true, is produced while "
1802-
"iterating over ``y``. If an exception is raised during the iteration, it is "
1803-
"as if :keyword:`in` raised that exception."
1801+
"For user-defined classes which do not define :meth:`~object.__contains__` "
1802+
"but dodefine :meth:`~object.__iter__`, ``x in y`` is ``True`` if some value "
1803+
"``z``, forwhich the expression ``x is z or x == z`` is true, is produced "
1804+
"whileiterating over ``y``. If an exception is raised during the iteration, "
1805+
"it isas if :keyword:`in` raised that exception."
18041806
msgstr""
18051807

18061808
#:../../reference/expressions.rst:1672

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp