Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitbd8aaf5

Browse files
sync with cpython 76420708
1 parentf7dc4da commitbd8aaf5

File tree

4 files changed

+322
-263
lines changed

4 files changed

+322
-263
lines changed

‎c-api/descriptor.po‎

Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version:Python 3.14\n"
1111
"Report-Msgid-Bugs-To:\n"
12-
"POT-Creation-Date:2025-11-10 00:16+0000\n"
12+
"POT-Creation-Date:2025-12-02 00:15+0000\n"
1313
"PO-Revision-Date:2021-12-09 20:56+0800\n"
1414
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1515
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -37,57 +37,97 @@ msgstr ""
3737
msgid"The type object for the built-in descriptor types."
3838
msgstr"內建 descriptor 型別的型別物件。"
3939

40+
#:../../c-api/descriptor.rst:26
41+
msgid""
42+
"The type object for member descriptor objects created from :c:type:"
43+
"`PyMemberDef` structures. These descriptors expose fields of a C struct as "
44+
"attributes on a type, and correspond to :class:`types.MemberDescriptorType` "
45+
"objects in Python."
46+
msgstr""
47+
4048
#:../../c-api/descriptor.rst:35
4149
msgid""
50+
"The type object for get/set descriptor objects created from :c:type:"
51+
"`PyGetSetDef` structures. These descriptors implement attributes whose value "
52+
"is computed by C getter and setter functions, and are used for many built-in "
53+
"type attributes."
54+
msgstr""
55+
56+
#:../../c-api/descriptor.rst:46
57+
msgid""
58+
"The type object for method descriptor objects created from :c:type:"
59+
"`PyMethodDef` structures. These descriptors expose C functions as methods on "
60+
"a type, and correspond to :class:`types.MemberDescriptorType` objects in "
61+
"Python."
62+
msgstr""
63+
64+
#:../../c-api/descriptor.rst:57
65+
msgid""
66+
"The type object for wrapper descriptor objects created by :c:func:"
67+
"`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper descriptors are "
68+
"used internally to expose special methods implemented via wrapper "
69+
"structures, and appear in Python as :class:`types.WrapperDescriptorType` "
70+
"objects."
71+
msgstr""
72+
73+
#:../../c-api/descriptor.rst:69
74+
msgid""
4275
"Return non-zero if the descriptor object *descr* describes a data attribute, "
4376
"or ``0`` if it describes a method. *descr* must be a descriptor object; "
4477
"there is no error checking."
4578
msgstr""
4679
"如果 descriptor 物件 *descr* 描述的是一個資料屬性則回傳非零值,或者如果它描述"
4780
"的是一個方法則回傳 ``0``。*descr* 必須為一個 descriptor 物件;沒有錯誤檢查。"
4881

49-
#:../../c-api/descriptor.rst:44
82+
#:../../c-api/descriptor.rst:78
5083
msgid"Built-in descriptors"
5184
msgstr"內建描述器"
5285

53-
#:../../c-api/descriptor.rst:48
86+
#:../../c-api/descriptor.rst:82
5487
msgid""
5588
"The type object for super objects. This is the same object as :class:`super` "
5689
"in the Python layer."
5790
msgstr""
5891

59-
#:../../c-api/descriptor.rst:54
92+
#:../../c-api/descriptor.rst:88
6093
msgid""
6194
"The type of class method objects. This is the same object as :class:"
6295
"`classmethod` in the Python layer."
6396
msgstr""
6497

65-
#:../../c-api/descriptor.rst:60
98+
#:../../c-api/descriptor.rst:94
99+
msgid""
100+
"The type object for C-level class method descriptor objects. This is the "
101+
"type of the descriptors created for :func:`classmethod` defined in C "
102+
"extension types, and is the same object as :class:`classmethod` in Python."
103+
msgstr""
104+
105+
#:../../c-api/descriptor.rst:102
66106
msgid""
67107
"Create a new :class:`classmethod` object wrapping *callable*. *callable* "
68108
"must be a callable object and must not be ``NULL``."
69109
msgstr""
70110

71-
#:../../c-api/descriptor.rst:63
111+
#:../../c-api/descriptor.rst:105
72112
msgid""
73113
"On success, this function returns a :term:`strong reference` to a new class "
74114
"method descriptor. On failure, this function returns ``NULL`` with an "
75115
"exception set."
76116
msgstr""
77117

78-
#:../../c-api/descriptor.rst:70
118+
#:../../c-api/descriptor.rst:112
79119
msgid""
80120
"The type of static method objects. This is the same object as :class:"
81121
"`staticmethod` in the Python layer."
82122
msgstr""
83123

84-
#:../../c-api/descriptor.rst:76
124+
#:../../c-api/descriptor.rst:118
85125
msgid""
86126
"Create a new :class:`staticmethod` object wrapping *callable*. *callable* "
87127
"must be a callable object and must not be ``NULL``."
88128
msgstr""
89129

90-
#:../../c-api/descriptor.rst:79
130+
#:../../c-api/descriptor.rst:121
91131
msgid""
92132
"On success, this function returns a :term:`strong reference` to a new static "
93133
"method descriptor. On failure, this function returns ``NULL`` with an "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp