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

Skip to content

Commit 4693b90

Browse files
[po] auto sync
1 parent 9589abc commit 4693b90

20 files changed

Lines changed: 819 additions & 709 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.22%", "updated_at": "2024-03-01T14:56:01Z"}
1+
{"translation": "94.28%", "updated_at": "2024-03-01T15:59:47Z"}

library/ast.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# Nyuan Zhang, 2022
1616
# Bryan不可思议, 2023
1717
# 乐成 王, 2023
18-
# Freesand Leo <[email protected]>, 2023
18+
# Freesand Leo <[email protected]>, 2024
1919
#
2020
#, fuzzy
2121
msgid ""
@@ -24,7 +24,7 @@ msgstr ""
2424
"Report-Msgid-Bugs-To: \n"
2525
"POT-Creation-Date: 2024-03-01 14:13+0000\n"
2626
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
27-
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
27+
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
2828
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2929
"MIME-Version: 1.0\n"
3030
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1250,7 +1250,7 @@ msgstr ""
12501250
#: ../../library/ast.rst:2191
12511251
msgid ""
12521252
"If source contains a null character (``\\0``), :exc:`ValueError` is raised."
1253-
msgstr ""
1253+
msgstr "如果源包含一个空字符 (``\\0``),则会引发 :exc:`ValueError`。"
12541254

12551255
#: ../../library/ast.rst:2194
12561256
msgid ""

library/constants.po

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Translators:
77
# Alpha Du <[email protected]>, 2021
88
# sunsol s <[email protected]>, 2023
9-
# Freesand Leo <[email protected]>, 2023
9+
# Freesand Leo <[email protected]>, 2024
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2024-03-01 14:13+0000\n"
1717
"PO-Revision-Date: 2021-06-28 00:57+0000\n"
18-
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
18+
"Last-Translator: Freesand Leo <[email protected]>, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -64,6 +64,11 @@ msgid ""
6464
"evaluated in a boolean context. :data:`!NotImplemented` is the sole instance"
6565
" of the :data:`types.NotImplementedType` type."
6666
msgstr ""
67+
"一个应当由双目运算特殊方法(如 :meth:`~object.__eq__`, :meth:`~object.__lt__`, "
68+
":meth:`~object.__add__`, :meth:`~object.__rsub__` "
69+
"等)返回的特殊值,用来表明该运算没有针对其他类型的实现;也可由原地双目运算特殊方法(如 :meth:`~object.__imul__`, "
70+
":meth:`~object.__iand__` 等)出于同样的目的而返回。 它不应在布尔上下文中被求值。 "
71+
":data:`!NotImplemented` 是 :data:`types.NotImplementedType` 类型的唯一实例。"
6772

6873
#: ../../library/constants.rst:40
6974
msgid ""
@@ -75,6 +80,10 @@ msgid ""
7580
"misleading error message or the :data:`!NotImplemented` value being returned"
7681
" to Python code."
7782
msgstr ""
83+
"当一个双目(或原地)方法返回 :data:`!NotImplemented` "
84+
"时解释器将尝试对另一种类型(或其他回退操作,具体取决于所用的运算符)的反射操作。 如果所有尝试都返回 "
85+
":data:`!NotImplemented`,解释器将引发适当的异常。 错误地返回 :data:`!NotImplemented` "
86+
"将导致误导性的错误消息或 :data:`!NotImplemented` 值被返回给 Python 代码。"
7887

7988
#: ../../library/constants.rst:47
8089
msgid "See :ref:`implementing-the-arithmetic-operations` for examples."
@@ -86,13 +95,17 @@ msgid ""
8695
" even though they have similar names and purposes. See "
8796
":exc:`NotImplementedError` for details on when to use it."
8897
msgstr ""
98+
"``NotImplementedError`` 和 :data:`!NotImplemented` 不可相互替代,即使它们有相似的名称和用途。 请参阅 "
99+
":exc:`NotImplementedError` 了解其使用细节。"
89100

90101
#: ../../library/constants.rst:55
91102
msgid ""
92103
"Evaluating :data:`!NotImplemented` in a boolean context is deprecated. While"
93104
" it currently evaluates as true, it will emit a :exc:`DeprecationWarning`. "
94105
"It will raise a :exc:`TypeError` in a future version of Python."
95106
msgstr ""
107+
"在布尔上下文件中对 :data:`!NotImplemented` 求值的操作已被弃用。 虽然它目前会被求解为真值,但将同时发出 "
108+
":exc:`DeprecationWarning`。 它将在未来的 Python 版本中引发 :exc:`TypeError`。"
96109

97110
#: ../../library/constants.rst:64
98111
msgid ""

0 commit comments

Comments
 (0)