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

Skip to content

Commit fecf7ce

Browse files
[po] auto sync
1 parent 2eb4dbc commit fecf7ce

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.94%", "updated_at": "2024-04-18T03:09:43Z"}
1+
{"translation": "91.94%", "updated_at": "2024-04-19T02:16:43Z"}

whatsnew/3.4.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,6 +1718,12 @@ msgid ""
17181718
"your code to use :func:`~inspect.signature` directly if those features are "
17191719
"desired. (Contributed by Yury Selivanov in :issue:`17481`.)"
17201720
msgstr ""
1721+
"现在 :func:`~inspect.getfullargspec` 和 :func:`~inspect.getargspec` 将使用 "
1722+
":func:`~inspect.signature` API。 这允许它们支持更多种类的可调用对象,包括具有 ``__signature__`` "
1723+
"属性的、具有通过 argument clinic 提供元数据的、:func:`functools.partial` 对象等等。 请注意,不同于 "
1724+
":func:`~inspect.signature`,这些函数仍然会忽略 ``__wrapped__`` "
1725+
"属性,并会报告绑定方法已绑定的第一个参数,所以如果想要这些特性的话你仍然需要更新你的代码以直接使用 "
1726+
":func:`~inspect.signature`。 (由 Yury Selivanov 在 :issue:`17481` 中贡献。)"
17211727

17221728
#: ../../whatsnew/3.4.rst:1053
17231729
msgid ""

0 commit comments

Comments
 (0)