You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a7d7aa8
Browse filesBrowse the repository at this point in the historyBrowse files
"slot). Specifically, this function does **not** call the object's :meth:`!"
31
-
"__init__` method."
34
+
"slot). Specifically, this function does **not** call the object's "
35
+
":meth:`!__init__` method."
32
36
msgstr""
37
+
"Initialisiert ein neu zugewiesenes Objekt *op* mit seinem Typ und seiner "
38
+
"Anfangsreferenz. Gibt das initialisierte Objekt zurück. Andere Felder des "
39
+
"Objekts werden nicht initialisiert. Trotz ihres Namens steht diese Funktion "
40
+
"in keinem Zusammenhang mit der Methode „ :meth:`~object.__init__` “ des "
41
+
"Objekts (Slot „:c:member:`~PyTypeObject.tp_init` “). Insbesondere ruft diese"
42
+
" Funktion die Methode „ :meth:`!__init__` “ des Objekts **nicht** auf."
33
43
34
44
#:../../c-api/allocation.rst:24
35
45
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`."
46
+
"In general, consider this function to be a low-level routine. Use "
47
+
":c:member:`~PyTypeObject.tp_alloc` where possible. For implementing "
48
+
":c:member:`!tp_alloc` for your type, prefer :c:func:`PyType_GenericAlloc` or"
49
+
" :c:func:`PyObject_New`."
40
50
msgstr""
51
+
"Im Allgemeinen sollten Sie diese Funktion als Low-Level-Routine betrachten. "
52
+
"Verwenden Sie nach Möglichkeit „ :c:member:`~PyTypeObject.tp_alloc` “. Zur "
53
+
"Implementierung von „ :c:member:`!tp_alloc` “ für Ihren Typ sollten Sie „ "
54
+
":c:func:`PyType_GenericAlloc` “ oder „ :c:func:`PyObject_New` “ bevorzugen."
41
55
42
56
#:../../c-api/allocation.rst:31
43
57
msgid""
44
58
"This function only initializes the object's memory corresponding to the "
45
59
"initial :c:type:`PyObject` structure. It does not zero the rest."
46
60
msgstr""
61
+
"Diese Funktion initialisiert lediglich den Speicher des Objekts, der der "
62
+
"Struktur „ :c:type:`PyObject` “ entspricht. Der Rest wird nicht auf Null "
63
+
"gesetzt."
47
64
48
65
#:../../c-api/allocation.rst:37
49
66
msgid""
50
67
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
51
68
"length information for a variable-size object."
52
69
msgstr""
70
+
"Diese Funktion bietet denselben Funktionsumfang wie „ :c:func:`PyObject_Init` “ und initialisiert darüber hinaus die Längenangaben für ein Objekt mit variabler Größe.\n"
71
+
" "
53
72
54
73
#:../../c-api/allocation.rst:42
55
74
msgid""
56
75
"This function only initializes some of the object's memory. It does not "
57
76
"zero the rest."
58
77
msgstr""
78
+
"Diese Funktion initialisiert nur einen Teil des Speichers des Objekts. Der Rest wird nicht auf Null gesetzt.\n"
79
+
" "
59
80
60
81
#:../../c-api/allocation.rst:48
61
82
msgid""
62
83
"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)."
84
+
"Python type object *typeobj* (``PyTypeObject*``) by calling "
85
+
":c:func:`PyObject_Malloc` to allocate memory and initializing it like "
86
+
":c:func:`PyObject_Init`. The caller will own the only reference to the "
87
+
"object (i.e. its reference count will be one)."
67
88
msgstr""
89
+
"Weist ein neues Python-Objekt unter Verwendung des C-Strukturtyps *TYPE* und des Python-Objekttyps *typeobj* (``PyTypeObject*``) zu, indem mit ` :c:func:`PyObject_Malloc` ` Speicher zugewiesen und dieser wie in ` :c:func:`PyObject_Init`` initialisiert wird. Der Aufrufer besitzt die einzige Referenz auf das Objekt (d. h., dessen Referenzzähler beträgt eins).\n"
"Vermeiden Sie es, diese Funktion direkt aufzurufen, um Speicher für ein Objekt zuzuweisen; rufen Sie stattdessen den Slot „ :c:member:`~PyTypeObject.tp_alloc` “ des Typs auf.\n"
"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."
102
+
"When populating a type's :c:member:`~PyTypeObject.tp_alloc` slot, "
103
+
":c:func:`PyType_GenericAlloc` is preferred over a custom function that "
104
+
"simply calls this macro."
80
105
msgstr""
106
+
"Beim Befüllen des Slots „ :c:member:`~PyTypeObject.tp_alloc` “ eines Typs ist die Verwendung von „ :c:func:`PyType_GenericAlloc` “ einer benutzerdefinierten Funktion vorzuziehen, die dieses Makro lediglich aufruft.\n"
107
+
" "
81
108
82
109
#:../../c-api/allocation.rst:61
83
110
msgid""
84
-
"This macro does not call :c:member:`~PyTypeObject.tp_alloc`, :c:member:"
85
-
"`~PyTypeObject.tp_new` (:meth:`~object.__new__`), or :c:member:"
0 commit comments