Skip to content

Commit 8ecfcb9

Browse files
[po] auto sync
1 parent 4d0d125 commit 8ecfcb9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.51%", "updated_at": "2024-04-18T03:22:49Z"}
1+
{"translation": "92.52%", "updated_at": "2024-04-19T02:31:10Z"}

whatsnew/3.4.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1718,13 +1718,21 @@ 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 ""
17241730
":func:`~inspect.signature` now supports duck types of CPython functions, "
17251731
"which adds support for functions compiled with Cython. (Contributed by "
17261732
"Stefan Behnel and Yury Selivanov in :issue:`17159`.)"
17271733
msgstr ""
1734+
"现在 :func:`~inspect.signature` 支持 CPython 函数的鸭子类型,它增加了对使用 Cython 编译的函数的支持。 (由"
1735+
" Stefan Behnel 和 Yury Selivanov 在 :issue:`17159` 中贡献。)"
17281736

17291737
#: ../../whatsnew/3.4.rst:1059
17301738
msgid "ipaddress"

0 commit comments

Comments
 (0)