Skip to content

Commit 3751bc0

Browse files
committed
bugfixes (brackets, wrong code translations, typos, backticks, ...)
1 parent 210e6d5 commit 3751bc0

204 files changed

Lines changed: 41351 additions & 38139 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎builtins/functions.po‎

Lines changed: 1073 additions & 1071 deletions
Large diffs are not rendered by default.

‎builtins/stdtypes.po‎

Lines changed: 1741 additions & 1756 deletions
Large diffs are not rendered by default.

‎c-api/allocation.po‎

Lines changed: 116 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6-
#, fuzzy
76
msgid ""
87
msgstr ""
98
"Project-Id-Version: Python 3.15\n"
@@ -19,135 +18,180 @@ msgstr ""
1918

2019
#: ../../c-api/allocation.rst:6
2120
msgid "Allocating objects on the heap"
22-
msgstr ""
21+
msgstr "Objekte auf dem Heap zuweisen"
2322

2423
#: ../../c-api/allocation.rst:17
2524
msgid ""
26-
"Initialize a newly allocated object *op* with its type and initial "
27-
"reference. Returns the initialized object. Other fields of the object are "
28-
"not initialized. Despite its name, this function is unrelated to the "
29-
"object's :meth:`~object.__init__` method (:c:member:`~PyTypeObject.tp_init` "
30-
"slot). Specifically, this function does **not** call the object's :meth:`!"
31-
"__init__` method."
32-
msgstr ""
25+
"Initialize a newly allocated object *op* with its type and initial reference."
26+
" Returns the initialized object. Other fields of the object are not "
27+
"initialized. Despite its name, this function is unrelated to the object's "
28+
":meth:`~object.__init__` method (:c:member:`~PyTypeObject.tp_init` slot). "
29+
"Specifically, this function does **not** call the object's :meth:`!__init__` "
30+
"method."
31+
msgstr ""
32+
"Initialisiert ein neu zugewiesenes Objekt *op* mit seinem Typ und seiner "
33+
"Anfangsreferenz. Gibt das initialisierte Objekt zurück. Andere Felder des "
34+
"Objekts werden nicht initialisiert. Trotz ihres Namens steht diese Funktion "
35+
"in keinem Zusammenhang mit der Methode „ :meth:`~object.__init__` “ des "
36+
"Objekts (Slot „:c:member:`~PyTypeObject.tp_init` “). Insbesondere ruft diese "
37+
"Funktion die Methode „ :meth:`!__init__` “ des Objekts **nicht** auf."
3338

3439
#: ../../c-api/allocation.rst:24
3540
msgid ""
36-
"In general, consider this function to be a low-level routine. Use :c:member:"
37-
"`~PyTypeObject.tp_alloc` where possible. For implementing :c:member:`!"
38-
"tp_alloc` for your type, prefer :c:func:`PyType_GenericAlloc` or :c:func:"
39-
"`PyObject_New`."
41+
"In general, consider this function to be a low-level routine. Use "
42+
":c:member:`~PyTypeObject.tp_alloc` where possible. For implementing "
43+
":c:member:`!tp_alloc` for your type, prefer :c:func:`PyType_GenericAlloc` or "
44+
":c:func:`PyObject_New`."
4045
msgstr ""
46+
"Im Allgemeinen sollten Sie diese Funktion als Low-Level-Routine betrachten. "
47+
"Verwenden Sie nach Möglichkeit „ :c:member:`~PyTypeObject.tp_alloc` “. Zur "
48+
"Implementierung von „ :c:member:`!tp_alloc` “ für Ihren Typ sollten Sie „ "
49+
":c:func:`PyType_GenericAlloc` “ oder „ :c:func:`PyObject_New` “ bevorzugen."
4150

4251
#: ../../c-api/allocation.rst:31
4352
msgid ""
4453
"This function only initializes the object's memory corresponding to the "
4554
"initial :c:type:`PyObject` structure. It does not zero the rest."
4655
msgstr ""
56+
"Diese Funktion initialisiert lediglich den Speicher des Objekts, der der "
57+
"Struktur „ :c:type:`PyObject` “ entspricht. Der Rest wird nicht auf Null "
58+
"gesetzt."
4759

4860
#: ../../c-api/allocation.rst:37
4961
msgid ""
5062
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
5163
"length information for a variable-size object."
5264
msgstr ""
65+
"Diese Funktion bietet denselben Funktionsumfang wie :c:func:`PyObject_Init` "
66+
"und initialisiert darüber hinaus die Längenangaben für ein Objekt mit "
67+
"variabler Größe."
5368

5469
#: ../../c-api/allocation.rst:42
5570
msgid ""
56-
"This function only initializes some of the object's memory. It does not "
57-
"zero the rest."
71+
"This function only initializes some of the object's memory. It does not zero"
72+
" the rest."
5873
msgstr ""
5974

6075
#: ../../c-api/allocation.rst:48
6176
msgid ""
6277
"Allocates a new Python object using the C structure type *TYPE* and the "
63-
"Python type object *typeobj* (``PyTypeObject*``) by calling :c:func:"
64-
"`PyObject_Malloc` to allocate memory and initializing it like :c:func:"
65-
"`PyObject_Init`. The caller will own the only reference to the object (i.e. "
66-
"its reference count will be one)."
78+
"Python type object *typeobj* (``PyTypeObject*``) by calling "
79+
":c:func:`PyObject_Malloc` to allocate memory and initializing it like "
80+
":c:func:`PyObject_Init`. The caller will own the only reference to the "
81+
"object (i.e. its reference count will be one)."
6782
msgstr ""
83+
"Weist ein neues Python-Objekt unter Verwendung des C-Strukturtyps *TYPE* und "
84+
"des Python-Objekttyps *typeobj* (``PyTypeObject*``) zu, indem mit "
85+
":c:func:`PyObject_Malloc` Speicher zugewiesen und dieser wie in "
86+
":c:func:`PyObject_Init` initialisiert wird. Der Aufrufer besitzt die einzige "
87+
"Referenz auf das Objekt (d.h., dessen Referenzzähler beträgt eins)."
6888

6989
#: ../../c-api/allocation.rst:54 ../../c-api/allocation.rst:107
7090
msgid ""
71-
"Avoid calling this directly to allocate memory for an object; call the "
72-
"type's :c:member:`~PyTypeObject.tp_alloc` slot instead."
91+
"Avoid calling this directly to allocate memory for an object; call the type's"
92+
" :c:member:`~PyTypeObject.tp_alloc` slot instead."
7393
msgstr ""
94+
"Rufe dies nicht direkt auf, um Speicher für ein Objekt zu reservieren; nutze "
95+
"stattdessen den :c:member:`~PyTypeObject.tp_alloc`-Slot des Typs."
7496

7597
#: ../../c-api/allocation.rst:57 ../../c-api/allocation.rst:110
7698
msgid ""
77-
"When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, :c:func:"
78-
"`PyType_GenericAlloc` is preferred over a custom function that simply calls "
79-
"this macro."
99+
"When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, "
100+
":c:func:`PyType_GenericAlloc` is preferred over a custom function that simply"
101+
" calls this macro."
80102
msgstr ""
103+
"Beim Befüllen des Slots :c:member:`~PyTypeObject.tp_alloc` eines Typs ist die"
104+
" Verwendung von :c:func:`PyType_GenericAlloc` einer benutzerdefinierten "
105+
"Funktion vorzuziehen, die dieses Makro lediglich aufruft."
81106

82107
#: ../../c-api/allocation.rst:61
83108
msgid ""
84-
"This macro does not call :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
85-
"`~PyTypeObject.tp_new` (:meth:`~object.__new__`), or :c:member:"
86-
"`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
109+
"This macro does not call :c:member:`~PyTypeObject.tp_alloc`, "
110+
":c:member:`~PyTypeObject.tp_new` (:meth:`~object.__new__`), or "
111+
":c:member:`~PyTypeObject.tp_init` (:meth:`~object.__init__`)."
87112
msgstr ""
113+
"Dieses Makro ruft weder :c:member:`~PyTypeObject.tp_alloc` noch "
114+
":c:member:`~PyTypeObject.tp_new` (:meth:`~object.__new__`) noch "
115+
":c:member:`~PyTypeObject.tp_init` (:meth:`~object.__init__`) auf."
88116

89117
#: ../../c-api/allocation.rst:65
90118
msgid ""
91-
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
92-
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` instead."
119+
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in "
120+
":c:member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_New` instead."
93121
msgstr ""
122+
"Dies kann nicht für Objekte verwendet werden, bei denen unter "
123+
":c:member:`~PyTypeObject.tp_flags` die Option „ :c:macro:`Py_TPFLAGS_HAVE_GC`"
124+
" “ aktiviert ist; verwenden Sie stattdessen :c:macro:`PyObject_GC_New`."
94125

95126
#: ../../c-api/allocation.rst:68
96127
msgid ""
97128
"Memory allocated by this macro must be freed with :c:func:`PyObject_Free` "
98129
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
99130
msgstr ""
131+
"Der durch dieses Makro zugewiesene Speicher muss mit :c:func:`PyObject_Free` "
132+
"freigegeben werden (in der Regel über den Slot "
133+
":c:member:`~PyTypeObject.tp_free` des Objekts aufgerufen)."
100134

101135
#: ../../c-api/allocation.rst:73 ../../c-api/allocation.rst:123
102136
msgid ""
103137
"The returned memory is not guaranteed to have been completely zeroed before "
104138
"it was initialized."
105139
msgstr ""
140+
"Es kann nicht garantiert werden, dass der zurückgegebene Speicherbereich vor "
141+
"der Initialisierung vollständig auf Null gesetzt wurde."
106142

107143
#: ../../c-api/allocation.rst:78 ../../c-api/allocation.rst:128
108144
msgid ""
109145
"This macro does not construct a fully initialized object of the given type; "
110-
"it merely allocates memory and prepares it for further initialization by :c:"
111-
"member:`~PyTypeObject.tp_init`. To construct a fully initialized object, "
146+
"it merely allocates memory and prepares it for further initialization by "
147+
":c:member:`~PyTypeObject.tp_init`. To construct a fully initialized object, "
112148
"call *typeobj* instead. For example::"
113149
msgstr ""
150+
"Dieses Makro erstellt kein vollständig initialisiertes Objekt des angegebenen"
151+
" Typs; es reserviert lediglich Speicher und bereitet diesen für die weitere "
152+
"Initialisierung durch :c:member:`~PyTypeObject.tp_init` vor. Um ein "
153+
"vollständig initialisiertes Objekt zu erstellen, rufen Sie stattdessen "
154+
"*typeobj* auf. Beispiel::"
114155

115156
#: ../../c-api/allocation.rst:83
116157
msgid "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
117-
msgstr ""
158+
msgstr "PyObject *foo = PyObject_CallNoArgs((PyObject *)&PyFoo_Type);"
118159

119160
#: ../../c-api/allocation.rst:87 ../../c-api/allocation.rst:137
120161
#: ../../c-api/allocation.rst:184 ../../c-api/allocation.rst:186
121162
#: ../../c-api/allocation.rst:188
122163
msgid ":c:func:`PyObject_Free`"
123-
msgstr ""
164+
msgstr ":c:func:`PyObject_Free`"
124165

125166
#: ../../c-api/allocation.rst:88
126167
msgid ":c:macro:`PyObject_GC_New`"
127-
msgstr ""
168+
msgstr ":c:macro:`PyObject_GC_New`"
128169

129170
#: ../../c-api/allocation.rst:89 ../../c-api/allocation.rst:139
130171
msgid ":c:func:`PyType_GenericAlloc`"
131-
msgstr ""
172+
msgstr ":c:func:`PyType_GenericAlloc`"
132173

133174
#: ../../c-api/allocation.rst:90 ../../c-api/allocation.rst:140
134175
msgid ":c:member:`~PyTypeObject.tp_alloc`"
135-
msgstr ""
176+
msgstr ":c:member:`~PyTypeObject.tp_alloc`"
136177

137178
#: ../../c-api/allocation.rst:95
138179
msgid "Like :c:macro:`PyObject_New` except:"
139-
msgstr ""
180+
msgstr "Ähnlich wie „ :c:macro:`PyObject_New` “, nur dass:"
140181

141182
#: ../../c-api/allocation.rst:97
142183
msgid ""
143184
"It allocates enough memory for the *TYPE* structure plus *size* "
144-
"(``Py_ssize_t``) fields of the size given by the :c:member:`~PyTypeObject."
145-
"tp_itemsize` field of *typeobj*."
185+
"(``Py_ssize_t``) fields of the size given by the "
186+
":c:member:`~PyTypeObject.tp_itemsize` field of *typeobj*."
146187
msgstr ""
188+
"Es reserviert ausreichend Speicherplatz für die Struktur *TYPE* sowie für "
189+
"*size* (``Py_ssize_t``) Felder mit der Größe, die durch das Feld „ "
190+
":c:member:`~PyTypeObject.tp_itemsize` “ von *typeobj* angegeben wird."
147191

148192
#: ../../c-api/allocation.rst:100
149193
msgid "The memory is initialized like :c:func:`PyObject_InitVar`."
150-
msgstr ""
194+
msgstr "Der Speicher wird wie folgt initialisiert: :c:func:`PyObject_InitVar`."
151195

152196
#: ../../c-api/allocation.rst:102
153197
msgid ""
@@ -156,81 +200,99 @@ msgid ""
156200
"into the same allocation decreases the number of allocations, improving the "
157201
"memory management efficiency."
158202
msgstr ""
203+
"Dies ist nützlich für die Implementierung von Objekten wie Tupeln, deren "
204+
"Größe bereits bei der Erstellung bestimmt werden kann. Durch die Einbettung "
205+
"des Feldarrays in denselben Speicherbereich wird die Anzahl der "
206+
"Speicherzuweisungen reduziert, was die Effizienz der Speicherverwaltung "
207+
"verbessert."
159208

160209
#: ../../c-api/allocation.rst:114
161210
msgid ""
162-
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in :c:"
163-
"member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` instead."
211+
"This cannot be used for objects with :c:macro:`Py_TPFLAGS_HAVE_GC` set in "
212+
":c:member:`~PyTypeObject.tp_flags`; use :c:macro:`PyObject_GC_NewVar` "
213+
"instead."
164214
msgstr ""
215+
"Dies kann nicht für Objekte verwendet werden, bei denen unter "
216+
":c:member:`~PyTypeObject.tp_flags` die Option „ :c:macro:`Py_TPFLAGS_HAVE_GC`"
217+
" “ aktiviert ist; verwenden Sie stattdessen :c:macro:`PyObject_GC_NewVar`."
165218

166219
#: ../../c-api/allocation.rst:118
167220
msgid ""
168221
"Memory allocated by this function must be freed with :c:func:`PyObject_Free` "
169222
"(usually called via the object's :c:member:`~PyTypeObject.tp_free` slot)."
170223
msgstr ""
224+
"Der von dieser Funktion zugewiesene Speicher muss mit :c:func:`PyObject_Free`"
225+
" freigegeben werden (in der Regel über den Slot "
226+
":c:member:`~PyTypeObject.tp_free` des Objekts aufgerufen)."
171227

172228
#: ../../c-api/allocation.rst:133
173229
msgid ""
174230
"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);"
175231
msgstr ""
232+
"PyObject *list_instance = PyObject_CallNoArgs((PyObject *)&PyList_Type);"
176233

177234
#: ../../c-api/allocation.rst:138
178235
msgid ":c:macro:`PyObject_GC_NewVar`"
179-
msgstr ""
236+
msgstr ":c:macro:`PyObject_GC_NewVar`"
180237

181238
#: ../../c-api/allocation.rst:145
182239
msgid ""
183240
"Object which is visible in Python as ``None``. This should only be accessed "
184241
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
185242
"object."
186243
msgstr ""
244+
"Objekt, das in Python als „ ``None`` “ sichtbar ist. Der Zugriff darauf "
245+
"sollte ausschließlich über das Makro „ :c:macro:`Py_None` “ erfolgen, das "
246+
"einen Zeiger auf dieses Objekt zurückgibt."
187247

188248
#: ../../c-api/allocation.rst:152
189249
msgid ":ref:`moduleobjects`"
190-
msgstr ""
250+
msgstr ":ref:`moduleobjects`"
191251

192252
#: ../../c-api/allocation.rst:153
193253
msgid "To allocate and create extension modules."
194-
msgstr ""
254+
msgstr "Erweiterungsmodule zuweisen und erstellen."
195255

196256
#: ../../c-api/allocation.rst:157
197257
msgid "Soft-deprecated aliases"
198-
msgstr ""
258+
msgstr "Aliase, die nur noch als „Soft-Deprecated“ gelten"
199259

200260
#: ../../c-api/allocation.rst:161
201261
msgid ""
202262
"These are aliases to existing functions and macros. They exist solely for "
203263
"backwards compatibility."
204264
msgstr ""
265+
"Dies sind Aliase für bereits vorhandene Funktionen und Makros. Sie dienen "
266+
"ausschließlich der Abwärtskompatibilität."
205267

206268
#: ../../c-api/allocation.rst:169
207269
msgid "Soft-deprecated alias"
208-
msgstr ""
270+
msgstr "Alias, der nur noch eingeschränkt unterstützt wird"
209271

210272
#: ../../c-api/allocation.rst:170
211273
msgid "Function"
212-
msgstr ""
274+
msgstr "Funktion"
213275

214276
#: ../../c-api/allocation.rst:172
215277
msgid ":c:macro:`PyObject_New`"
216-
msgstr ""
278+
msgstr ":c:macro:`PyObject_New`"
217279

218280
#: ../../c-api/allocation.rst:174
219281
msgid ":c:macro:`PyObject_NewVar`"
220-
msgstr ""
282+
msgstr ":c:macro:`PyObject_NewVar`"
221283

222284
#: ../../c-api/allocation.rst:176
223285
msgid ":c:func:`PyObject_Init`"
224-
msgstr ""
286+
msgstr ":c:func:`PyObject_Init`"
225287

226288
#: ../../c-api/allocation.rst:178
227289
msgid ":c:func:`PyObject_InitVar`"
228-
msgstr ""
290+
msgstr ":c:func:`PyObject_InitVar`"
229291

230292
#: ../../c-api/allocation.rst:180
231293
msgid ":c:func:`PyObject_Malloc`"
232-
msgstr ""
294+
msgstr ":c:func:`PyObject_Malloc`"
233295

234296
#: ../../c-api/allocation.rst:182
235297
msgid ":c:func:`PyObject_Realloc`"
236-
msgstr ""
298+
msgstr ":c:func:`PyObject_Realloc`"

0 commit comments

Comments
 (0)