@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.15\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-10-01 19:07 +0000\n "
14+ "POT-Creation-Date : 2026-10-23 18:01 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -50,8 +50,7 @@ msgid ""
5050msgstr ""
5151
5252#: ../../c-api/descriptor.rst:21 ../../c-api/descriptor.rst:34
53- #: ../../c-api/descriptor.rst:65 ../../c-api/descriptor.rst:96
54- #: ../../c-api/descriptor.rst:118
53+ #: ../../c-api/descriptor.rst:65 ../../c-api/descriptor.rst:114
5554msgid ""
5655"On success, return a :term:`strong reference` to the descriptor. Return "
5756"``NULL`` with an exception set on failure."
@@ -110,39 +109,27 @@ msgid ""
110109"Python."
111110msgstr ""
112111
113- #: ../../c-api/descriptor.rst:78
114- msgid "Describes a slot wrapper used by :c:func:`PyDescr_NewWrapper`."
112+ msgid ""
113+ "The type object for wrapper descriptor objects created by :c:func:"
114+ "`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`."
115115msgstr ""
116116
117- #: ../../c-api/descriptor.rst:80
118117msgid ""
119- "Each ``wrapperbase`` record stores the Python-visible name and metadata for "
120- "a special method implemented by a type slot, together with the wrapper "
121- "function used to adapt that slot to Python's calling convention ."
118+ "Wrapper descriptors are used internally to expose special methods such as "
119+ "``__repr__`` or ``__add__``, which are implemented by type slots. The type "
120+ "is exposed in Python as :class:`types.WrapperDescriptorType` ."
122121msgstr ""
123122
124- #: ../../c-api/descriptor.rst:86
125- msgid ""
126- "Create a new wrapper descriptor for extension type *type* from the :c:struct:"
127- "`wrapperbase` structure *base* and the wrapped slot function pointer "
128- "*wrapped*."
123+ msgid "Create a new wrapper descriptor of type :c:var:`PyWrapperDescr_Type`."
129124msgstr ""
130125
131- #: ../../c-api/descriptor.rst:91
132126msgid ""
133- "Wrapper descriptors expose special methods implemented by type slots. This "
134- "is the same kind of descriptor that CPython creates for slot-based special "
135- "methods such as ``__repr__`` or ``__add__``, and it appears in Python as a :"
136- "class:`types.WrapperDescriptorType` object."
127+ "This function is meant for internal use only; it and related API (``struct "
128+ "wrapperbase`` and the ``PyWrapperFlag_KEYWORDS`` flag) are exposed publicly "
129+ "for backwards compatibility reasons."
137130msgstr ""
138131
139- #: ../../c-api/descriptor.rst:101
140- msgid ""
141- "The type object for wrapper descriptor objects created by :c:func:"
142- "`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper descriptors are "
143- "used internally to expose special methods implemented via wrapper "
144- "structures, and appear in Python as :class:`types.WrapperDescriptorType` "
145- "objects."
132+ msgid "See :c:func:`PyCMethod_New` for wrapping a C function."
146133msgstr ""
147134
148135#: ../../c-api/descriptor.rst:110
@@ -186,6 +173,31 @@ msgid ""
186173"``NULL`` with an exception set on failure."
187174msgstr ""
188175
176+ msgid ""
177+ "Return a :term:`borrowed reference` to the type that the descriptor *descr* "
178+ "belongs to. This is accessible as :attr:`~object.__objclass__` in Python."
179+ msgstr ""
180+
181+ msgid ""
182+ "*descr* must be a descriptor object created by one of the ``PyDescr_New*`` "
183+ "functions (an instance of :c:var:`PyMethodDescr_Type`, :c:var:"
184+ "`PyClassMethodDescr_Type`, :c:var:`PyMemberDescr_Type`, :c:var:"
185+ "`PyGetSetDescr_Type`, or :c:var:`PyWrapperDescr_Type`). If the passed "
186+ "descriptor is not an instance of one of these types, the behavior is "
187+ "undefined."
188+ msgstr ""
189+
190+ msgid ""
191+ "Return the name of the descriptor *descr* as a :term:`borrowed reference` to "
192+ "a :class:`str` object. This is available as :attr:`~definition.__name__` in "
193+ "Python."
194+ msgstr ""
195+
196+ msgid ""
197+ "*descr* must be a descriptor object created by one of the ``PyDescr_New*`` "
198+ "functions. If not, the behavior is undefined."
199+ msgstr ""
200+
189201#: ../../c-api/descriptor.rst:143
190202msgid "This is a macro including the common fields for a descriptor object."
191203msgstr ""
0 commit comments