Repository navigation
Expand file tree
/
Copy pathdescriptor.po
More file actions
273 lines (234 loc) · 8.99 KB
/
Copy pathdescriptor.po
File metadata and controls
273 lines (234 loc) · 8.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-01 00:10+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Language-Team: German (https://app.transifex.com/python-doc/teams/5390/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../../c-api/descriptor.rst:6
msgid "Descriptor Objects"
msgstr ""
#: ../../c-api/descriptor.rst:8
msgid ""
"\"Descriptors\" are objects that describe some attribute of an object. They "
"are found in the dictionary of type objects."
msgstr ""
#: ../../c-api/descriptor.rst:13
msgid ""
"Create a new get-set descriptor for extension type *type* from "
"the :c:type:`PyGetSetDef` structure *getset*."
msgstr ""
#: ../../c-api/descriptor.rst:16
msgid ""
"Get-set descriptors expose attributes implemented by C getter and setter "
"functions rather than stored directly in the instance. This is the same kind "
"of descriptor created for entries in :c:member:`~PyTypeObject.tp_getset`, "
"and it appears in Python as a :class:`types.GetSetDescriptorType` object."
msgstr ""
#: ../../c-api/descriptor.rst:21 ../../c-api/descriptor.rst:34
#: ../../c-api/descriptor.rst:65 ../../c-api/descriptor.rst:114
msgid ""
"On success, return a :term:`strong reference` to the descriptor. Return "
"``NULL`` with an exception set on failure."
msgstr ""
#: ../../c-api/descriptor.rst:26
msgid ""
"Create a new member descriptor for extension type *type* from "
"the :c:type:`PyMemberDef` structure *member*."
msgstr ""
#: ../../c-api/descriptor.rst:29
msgid ""
"Member descriptors expose fields in the type's C struct as Python "
"attributes. This is the same kind of descriptor created for entries "
"in :c:member:`~PyTypeObject.tp_members`, and it appears in Python as "
"a :class:`types.MemberDescriptorType` object."
msgstr ""
#: ../../c-api/descriptor.rst:39
msgid ""
"The type object for member descriptor objects created "
"from :c:type:`PyMemberDef` structures. These descriptors expose fields of a "
"C struct as attributes on a type, and correspond "
"to :class:`types.MemberDescriptorType` objects in Python."
msgstr ""
#: ../../c-api/descriptor.rst:48
msgid ""
"The type object for get/set descriptor objects created "
"from :c:type:`PyGetSetDef` structures. These descriptors implement "
"attributes whose value is computed by C getter and setter functions, and are "
"used for many built-in type attributes. They correspond "
"to :class:`types.GetSetDescriptorType` objects in Python."
msgstr ""
#: ../../c-api/descriptor.rst:57
msgid ""
"Create a new method descriptor for extension type *type* from "
"the :c:type:`PyMethodDef` structure *meth*."
msgstr ""
#: ../../c-api/descriptor.rst:60
msgid ""
"Method descriptors expose C functions as methods on a type. This is the same "
"kind of descriptor created for entries "
"in :c:member:`~PyTypeObject.tp_methods`, and it appears in Python as "
"a :class:`types.MethodDescriptorType` object."
msgstr ""
#: ../../c-api/descriptor.rst:70
msgid ""
"The type object for method descriptor objects created "
"from :c:type:`PyMethodDef` structures. These descriptors expose C functions "
"as methods on a type, and correspond to :class:`types.MethodDescriptorType` "
"objects in Python."
msgstr ""
#: ../../c-api/descriptor.rst:77
msgid ""
"The type object for wrapper descriptor objects created "
"by :c:func:`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`."
msgstr ""
#: ../../c-api/descriptor.rst:80
msgid ""
"Wrapper descriptors are used internally to expose special methods such as "
"``__repr__`` or ``__add__``, which are implemented by type slots. The type "
"is exposed in Python as :class:`types.WrapperDescriptorType`."
msgstr ""
#: ../../c-api/descriptor.rst:96
msgid "Create a new wrapper descriptor of type :c:var:`PyWrapperDescr_Type`."
msgstr ""
#: ../../c-api/descriptor.rst:98
msgid ""
"This function is meant for internal use only; it and related API (``struct "
"wrapperbase`` and the ``PyWrapperFlag_KEYWORDS`` flag) are exposed publicly "
"for backwards compatibility reasons."
msgstr ""
#: ../../c-api/descriptor.rst:102
msgid "See :c:func:`PyCMethod_New` for wrapping a C function."
msgstr ""
#: ../../c-api/descriptor.rst:106
msgid ""
"Create a new class method descriptor for extension type *type* from "
"the :c:type:`PyMethodDef` structure *method*."
msgstr ""
#: ../../c-api/descriptor.rst:109
msgid ""
"Class method descriptors expose C methods that receive the class rather than "
"an instance when accessed. This is the same kind of descriptor created for "
"``METH_CLASS`` entries in :c:member:`~PyTypeObject.tp_methods`, and it "
"appears in Python as a :class:`types.ClassMethodDescriptorType` object."
msgstr ""
#: ../../c-api/descriptor.rst:119
msgid ""
"Return non-zero if the descriptor object *descr* describes a data attribute, "
"or ``0`` if it describes a method. *descr* must be a descriptor object; "
"there is no error checking."
msgstr ""
#: ../../c-api/descriptor.rst:126
msgid ""
"Create a new bound wrapper object from the wrapper descriptor *d* and the "
"instance *self*."
msgstr ""
#: ../../c-api/descriptor.rst:129
msgid ""
"This is the bound form of a wrapper descriptor created "
"by :c:func:`PyDescr_NewWrapper`. CPython creates these objects when a slot "
"wrapper is accessed through an instance, and they appear in Python "
"as :class:`types.MethodWrapperType` objects."
msgstr ""
#: ../../c-api/descriptor.rst:134
msgid ""
"On success, return a :term:`strong reference` to the wrapper object. Return "
"``NULL`` with an exception set on failure."
msgstr ""
#: ../../c-api/descriptor.rst:139
msgid ""
"Return a :term:`borrowed reference` to the type that the descriptor *descr* "
"belongs to. This is accessible as :attr:`~object.__objclass__` in Python."
msgstr ""
#: ../../c-api/descriptor.rst:143
msgid ""
"*descr* must be a descriptor object created by one of the ``PyDescr_New*`` "
"functions (an instance "
"of :c:var:`PyMethodDescr_Type`, :c:var:`PyClassMethodDescr_Type`, :c:var:`PyMemberDescr_Type`, :c:var:`PyGetSetDescr_Type`, "
"or :c:var:`PyWrapperDescr_Type`). If the passed descriptor is not an "
"instance of one of these types, the behavior is undefined."
msgstr ""
#: ../../c-api/descriptor.rst:153
msgid ""
"Return the name of the descriptor *descr* as a :term:`borrowed reference` to "
"a :class:`str` object. This is available as :attr:`~definition.__name__` in "
"Python."
msgstr ""
#: ../../c-api/descriptor.rst:157
msgid ""
"*descr* must be a descriptor object created by one of the ``PyDescr_New*`` "
"functions. If not, the behavior is undefined."
msgstr ""
#: ../../c-api/descriptor.rst:163
msgid "This is a macro including the common fields for a descriptor object."
msgstr ""
#: ../../c-api/descriptor.rst:166
msgid ""
"This was included in Python's C API by mistake; do not use it in extensions. "
"For creating custom descriptor objects, create a class implementing the "
"descriptor protocol (:c:member:`~PyTypeObject.tp_descr_get` "
"and :c:member:`~PyTypeObject.tp_descr_set`)."
msgstr ""
#: ../../c-api/descriptor.rst:175
msgid "Built-in descriptors"
msgstr ""
#: ../../c-api/descriptor.rst:179
msgid ""
"The type object for property objects. This is the same object "
"as :class:`property` in the Python layer."
msgstr ""
#: ../../c-api/descriptor.rst:185
msgid ""
"The type object for super objects. This is the same object as :class:`super` "
"in the Python layer."
msgstr ""
#: ../../c-api/descriptor.rst:191
msgid ""
"The type of class method objects. This is the same object "
"as :class:`classmethod` in the Python layer."
msgstr ""
#: ../../c-api/descriptor.rst:197
msgid ""
"The type object for C-level class method descriptor objects. This is the "
"type of the descriptors created for :func:`classmethod` defined in C "
"extension types, and corresponds to :class:`types.ClassMethodDescriptorType` "
"objects in Python."
msgstr ""
#: ../../c-api/descriptor.rst:205
msgid ""
"Create a new :class:`classmethod` object wrapping *callable*. *callable* "
"must be a callable object and must not be ``NULL``."
msgstr ""
#: ../../c-api/descriptor.rst:208
msgid ""
"On success, this function returns a :term:`strong reference` to a new class "
"method descriptor. On failure, this function returns ``NULL`` with an "
"exception set."
msgstr ""
#: ../../c-api/descriptor.rst:215
msgid ""
"The type of static method objects. This is the same object "
"as :class:`staticmethod` in the Python layer."
msgstr ""
#: ../../c-api/descriptor.rst:221
msgid ""
"Create a new :class:`staticmethod` object wrapping *callable*. *callable* "
"must be a callable object and must not be ``NULL``."
msgstr ""
#: ../../c-api/descriptor.rst:224
msgid ""
"On success, this function returns a :term:`strong reference` to a new static "
"method descriptor. On failure, this function returns ``NULL`` with an "
"exception set."
msgstr ""