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

Appearance settings

Commit 9633b5f

Browse filesBrowse files
[po] auto sync
1 parent b60102e commit 9633b5f
Copy full SHA for 9633b5f

File tree

2 files changed

+10
-1
lines changed
Filter options

2 files changed

+10
-1
lines changed

‎.stat.json

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "83.02%", "updated_at": "2025-04-22T02:43:17Z"}
1+
{"translation": "83.02%", "updated_at": "2025-04-22T07:18:36Z"}

‎whatsnew/3.4.po

Copy file name to clipboardExpand all lines: whatsnew/3.4.po
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4073,6 +4073,8 @@ msgid ""
40734073
"informative :exc:`ValueError` rather than the previous more mysterious "
40744074
":exc:`AttributeError` (:issue:`9177`)."
40754075
msgstr ""
4076+
"在已关闭的 SSL 套接字上调用 ``read`` 或 ``write`` 现在会引发更具信息量的 :exc:`ValueError` "
4077+
"而非之前更令人困惑的 :exc:`AttributeError` (:issue:`9177`)。"
40764078

40774079
#: ../../whatsnew/3.4.rst:2384
40784080
msgid ""
@@ -4081,6 +4083,9 @@ msgid ""
40814083
":exc:`ValueError` if given a negative length; previously it returned "
40824084
"nonsense values (:issue:`14794`)."
40834085
msgstr ""
4086+
"对于巨大数值 :meth:`slice.indices` 将不再产生 :exc:`OverflowError`。 作为此项修复的结果,当给予负的长度时 "
4087+
":meth:`slice.indices` 现在会引发 :exc:`ValueError`;在之前版本中它会返回无意义的值 "
4088+
"(:issue:`14794`)。"
40844089

40854090
#: ../../whatsnew/3.4.rst:2389
40864091
msgid ""
@@ -4089,6 +4094,8 @@ msgid ""
40894094
"special method returned one. This now raises a :exc:`TypeError`. "
40904095
"(:issue:`16290`.)"
40914096
msgstr ""
4097+
"与 :mod:`cmath` 中的函数不同,当一个对象的 ``__complex__`` 特殊方法返回 :class:`float` 值时 "
4098+
":class:`complex` 构造器会不正确地接受它。 现在这会引发 :exc:`TypeError`。 (:issue:`16290`。)"
40924099

40934100
#: ../../whatsnew/3.4.rst:2394
40944101
msgid ""
@@ -4097,6 +4104,8 @@ msgid ""
40974104
"doing this, but if so, it will now raise a :exc:`TypeError` "
40984105
"(:issue:`16772`)."
40994106
msgstr ""
4107+
"在 3.2 和 3.3 中的 :class:`int` 构造器会错误地接受 :class:`float` 值作为 *base* 形参。 "
4108+
"多数人不太可能这样做,但如果真的如此,现在它将引发 :exc:`TypeError` (:issue:`16772`)。"
41004109

41014110
#: ../../whatsnew/3.4.rst:2398
41024111
msgid ""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.