Skip to content

Commit 9334c91

Browse files
[po] auto sync
1 parent 92062f0 commit 9334c91

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": "83.00%", "updated_at": "2025-04-18T01:47:04Z"}
1+
{"translation": "83.00%", "updated_at": "2025-04-18T02:41:06Z"}

whatsnew/3.4.po

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3966,6 +3966,10 @@ msgid ""
39663966
"behaviour was intentional can use :func:`inspect.unwrap` to access the first"
39673967
" function in the chain that has no ``__wrapped__`` attribute."
39683968
msgstr ""
3969+
"现在 :func:`functools.update_wrapper` 和 :func:`functools.wraps` 会正确地将 "
3970+
"``__wrapped__`` 属性设为被包装的函数,即使该函数同样设置了 ``__wrapped__`` 属性。 这意味着 "
3971+
"``__wrapped__`` 属性现在会正确地链接由被装饰函数组成的栈而不是链中指向最内层函数的的每个 ``__wrapped__`` 属性。 "
3972+
"确定要沿袭之前版本行为的内省库可以使用 :func:`inspect.unwrap` 来访问链中没有 ``__wrapped__`` 属性的第一个函数。"
39693973

39703974
#: ../../whatsnew/3.4.rst:2329
39713975
msgid ""

0 commit comments

Comments
 (0)