Skip to content

Commit 10072ad

Browse files
[po] auto sync
1 parent a59bf67 commit 10072ad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "82.98%", "updated_at": "2025-04-15T02:44:19Z"}
1+
{"translation": "82.98%", "updated_at": "2025-04-16T03:27:42Z"}

whatsnew/3.4.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3770,6 +3770,10 @@ msgid ""
37703770
"objects that do not have a __format__ method that handles it. See "
37713771
":issue:`7994` for background."
37723772
msgstr ""
3773+
":meth:`object.__format__` 不再接受非空格式字符串,它现在会改为引发 :exc:`TypeError`。 使用非空字符串自 "
3774+
"Python 3.2 起已被弃用。 做出此项改变是为了防止当对象获得 __format__ "
3775+
"方法时之前可用(但不正确)的代码执行失败的情况,这意味着现在当你对没有用于处理 ``'s'`` 的 __format__ "
3776+
"方法的对象使用该格式代码时你的代码可能会引发 :exc:`TypeError`。 请参阅 :issue:`7994` 了解相关背景。"
37733777

37743778
#: ../../whatsnew/3.4.rst:2216
37753779
msgid ""

0 commit comments

Comments
 (0)