| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,23 +19,29 @@ msgstr "" | |||
| 19 | 19 | ||
| 20 | 20 | #: ../../library/constants.rst:4 | |
| 21 | 21 | msgid "Built-in Constants" | |
| 22 | - msgstr "" | ||
| 22 | + msgstr "Integrierte Konstanten" | ||
| 23 | 23 | ||
| 24 | 24 | #: ../../library/constants.rst:6 | |
| 25 | 25 | msgid "A small number of constants live in the built-in namespace. They are:" | |
| 26 | 26 | msgstr "" | |
| 27 | + "Eine kleine Anzahl von Konstanten befindet sich im integrierten Namensraum. " | ||
| 28 | + "Diese sind:" | ||
| 27 | 29 | ||
| 28 | 30 | #: ../../library/constants.rst:10 | |
| 29 | 31 | msgid "" | |
| 30 | 32 | "The false value of the :class:`bool` type. Assignments to ``False`` are " | |
| 31 | 33 | "illegal and raise a :exc:`SyntaxError`." | |
| 32 | 34 | msgstr "" | |
| 35 | + "Der Wahrheitswert „falsch“ des Typs :class:`bool`. Zuweisungen an ``False`` " | ||
| 36 | + "sind unzulässig und lösen einen :exc:`SyntaxError` aus." | ||
| 33 | 37 | ||
| 34 | 38 | #: ../../library/constants.rst:16 | |
| 35 | 39 | msgid "" | |
| 36 | 40 | "The true value of the :class:`bool` type. Assignments to ``True`` are " | |
| 37 | 41 | "illegal and raise a :exc:`SyntaxError`." | |
| 38 | 42 | msgstr "" | |
| 43 | + "Der Wahrheitswert „wahr“ des Typs :class:`bool`. Zuweisungen an ``True`` " | ||
| 44 | + "sind unzulässig und lösen einen :exc:`SyntaxError` aus." | ||
| 39 | 45 | ||
| 40 | 46 | #: ../../library/constants.rst:22 | |
| 41 | 47 | msgid "" | |
@@ -44,6 +50,11 @@ msgid "" | |||
| 44 | 50 | "illegal and raise a :exc:`SyntaxError`. ``None`` is the sole instance of " | |
| 45 | 51 | "the :class:`~types.NoneType` type." | |
| 46 | 52 | msgstr "" | |
| 53 | + "Ein Objekt, das häufig verwendet wird, um das Fehlen eines Wertes " | ||
| 54 | + "darzustellen, etwa wenn Argumente mit Standardwert beim Funktionsaufruf " | ||
| 55 | + "nicht übergeben werden. Zuweisungen an ``None`` sind unzulässig und lösen " | ||
| 56 | + "einen :exc:`SyntaxError` aus. ``None`` ist die einzige Instanz des Typs " | ||
| 57 | + ":class:`~types.NoneType`." | ||
| 47 | 58 | ||
| 48 | 59 | #: ../../library/constants.rst:30 | |
| 49 | 60 | msgid "" | |
@@ -56,6 +67,15 @@ msgid "" | |||
| 56 | 67 | "boolean context. :data:`!NotImplemented` is the sole instance of the :class:" | |
| 57 | 68 | "`types.NotImplementedType` type." | |
| 58 | 69 | msgstr "" | |
| 70 | + "Ein spezieller Wert, der von den binären Spezialmethoden (z. B. " | ||
| 71 | + ":meth:`~object.__eq__`, :meth:`~object.__lt__`, :meth:`~object.__add__`, " | ||
| 72 | + ":meth:`~object.__rsub__` usw.) zurückgegeben werden sollte, um anzuzeigen, " | ||
| 73 | + "dass die Operation für den anderen Typ nicht implementiert ist; er kann zum " | ||
| 74 | + "selben Zweck auch von den binären In-place-Spezialmethoden (z. B. " | ||
| 75 | + ":meth:`~object.__imul__`, :meth:`~object.__iand__` usw.) zurückgegeben " | ||
| 76 | + "werden. Er sollte nicht in einem booleschen Kontext ausgewertet werden. " | ||
| 77 | + ":data:`!NotImplemented` ist die einzige Instanz des Typs " | ||
| 78 | + ":class:`types.NotImplementedType`." | ||
| 59 | 79 | ||
| 60 | 80 | #: ../../library/constants.rst:40 | |
| 61 | 81 | msgid "" | |
@@ -67,28 +87,45 @@ msgid "" | |||
| 67 | 87 | "error message or the :data:`!NotImplemented` value being returned to Python " | |
| 68 | 88 | "code." | |
| 69 | 89 | msgstr "" | |
| 90 | + "Wenn eine binäre (oder In-place-)Methode :data:`!NotImplemented` " | ||
| 91 | + "zurückgibt, versucht der Interpreter die gespiegelte Operation des anderen " | ||
| 92 | + "Typs (oder je nach Operator ein anderes Ausweichverhalten). Wenn alle " | ||
| 93 | + "Versuche :data:`!NotImplemented` zurückgeben, löst der Interpreter eine " | ||
| 94 | + "passende Ausnahme aus. Wird :data:`!NotImplemented` fälschlicherweise " | ||
| 95 | + "zurückgegeben, führt das zu einer irreführenden Fehlermeldung oder dazu, " | ||
| 96 | + "dass der Wert :data:`!NotImplemented` an Python-Code zurückgegeben wird." | ||
| 70 | 97 | ||
| 71 | 98 | #: ../../library/constants.rst:47 | |
| 72 | 99 | msgid "See :ref:`implementing-the-arithmetic-operations` for examples." | |
| 73 | 100 | msgstr "" | |
| 101 | + "Beispiele findest du unter :ref:`implementing-the-arithmetic-operations`." | ||
| 74 | 102 | ||
| 75 | 103 | #: ../../library/constants.rst:51 | |
| 76 | 104 | msgid "" | |
| 77 | 105 | ":data:`!NotImplemented` and :exc:`!NotImplementedError` are not " | |
| 78 | 106 | "interchangeable. This constant should only be used as described above; see :" | |
| 79 | 107 | "exc:`NotImplementedError` for details on correct usage of the exception." | |
| 80 | 108 | msgstr "" | |
| 109 | + ":data:`!NotImplemented` und :exc:`!NotImplementedError` sind nicht " | ||
| 110 | + "austauschbar. Diese Konstante sollte nur wie oben beschrieben verwendet " | ||
| 111 | + "werden; Details zur korrekten Verwendung der Ausnahme findest du unter " | ||
| 112 | + ":exc:`NotImplementedError`." | ||
| 81 | 113 | ||
| 82 | 114 | #: ../../library/constants.rst:56 | |
| 83 | 115 | msgid "Evaluating :data:`!NotImplemented` in a boolean context was deprecated." | |
| 84 | 116 | msgstr "" | |
| 117 | + "Das Auswerten von :data:`!NotImplemented` in einem booleschen Kontext wurde " | ||
| 118 | + "als veraltet markiert." | ||
| 85 | 119 | ||
| 86 | 120 | #: ../../library/constants.rst:59 | |
| 87 | 121 | msgid "" | |
| 88 | 122 | "Evaluating :data:`!NotImplemented` in a boolean context now raises a :exc:" | |
| 89 | 123 | "`TypeError`. It previously evaluated to :const:`True` and emitted a :exc:" | |
| 90 | 124 | "`DeprecationWarning` since Python 3.9." | |
| 91 | 125 | msgstr "" | |
| 126 | + "Das Auswerten von :data:`!NotImplemented` in einem booleschen Kontext löst " | ||
| 127 | + "jetzt einen :exc:`TypeError` aus. Zuvor ergab es :const:`True` und gab seit " | ||
| 128 | + "Python 3.9 eine :exc:`DeprecationWarning` aus." | ||
| 92 | 129 | ||
| 93 | 130 | #: ../../library/constants.rst:68 | |
| 94 | 131 | msgid "" | |
@@ -97,23 +134,34 @@ msgid "" | |||
| 97 | 134 | "but assignment to ``...`` raises a :exc:`SyntaxError`. ``Ellipsis`` is the " | |
| 98 | 135 | "sole instance of the :class:`types.EllipsisType` type." | |
| 99 | 136 | msgstr "" | |
| 137 | + "Dasselbe wie das Ellipsis-Literal „``...``“, ein Objekt, das häufig " | ||
| 138 | + "verwendet wird, um anzuzeigen, dass etwas ausgelassen wurde. Eine Zuweisung " | ||
| 139 | + "an ``Ellipsis`` ist möglich, eine Zuweisung an ``...`` löst jedoch einen " | ||
| 140 | + ":exc:`SyntaxError` aus. ``Ellipsis`` ist die einzige Instanz des Typs " | ||
| 141 | + ":class:`types.EllipsisType`." | ||
| 100 | 142 | ||
| 101 | 143 | #: ../../library/constants.rst:76 | |
| 102 | 144 | msgid "" | |
| 103 | 145 | "This constant is true if Python was not started with an :option:`-O` option. " | |
| 104 | 146 | "See also the :keyword:`assert` statement." | |
| 105 | 147 | msgstr "" | |
| 148 | + "Diese Konstante ist wahr, wenn Python nicht mit der Option :option:`-O` " | ||
| 149 | + "gestartet wurde. Siehe auch die Anweisung :keyword:`assert`." | ||
| 106 | 150 | ||
| 107 | 151 | #: ../../library/constants.rst:82 | |
| 108 | 152 | msgid "" | |
| 109 | 153 | "The names :data:`None`, :data:`False`, :data:`True` and :data:`__debug__` " | |
| 110 | 154 | "cannot be reassigned (assignments to them, even as an attribute name, raise :" | |
| 111 | 155 | "exc:`SyntaxError`), so they can be considered \"true\" constants." | |
| 112 | 156 | msgstr "" | |
| 157 | + "Die Namen :data:`None`, :data:`False`, :data:`True` und :data:`__debug__` " | ||
| 158 | + "können nicht neu zugewiesen werden (Zuweisungen an sie, selbst als " | ||
| 159 | + "Attributname, lösen einen :exc:`SyntaxError` aus), daher können sie als " | ||
| 160 | + "„echte“ Konstanten betrachtet werden." | ||
| 113 | 161 | ||
| 114 | 162 | #: ../../library/constants.rst:90 | |
| 115 | 163 | msgid "Constants added by the :mod:`site` module" | |
| 116 | - msgstr "" | ||
| 164 | + msgstr "Vom Modul :mod:`site` hinzugefügte Konstanten" | ||
| 117 | 165 | ||
| 118 | 166 | #: ../../library/constants.rst:92 | |
| 119 | 167 | msgid "" | |
@@ -122,13 +170,22 @@ msgid "" | |||
| 122 | 170 | "constants to the built-in namespace. They are useful for the interactive " | |
| 123 | 171 | "interpreter shell and should not be used in programs." | |
| 124 | 172 | msgstr "" | |
| 173 | + "Das Modul :mod:`site` (das beim Start automatisch importiert wird, außer " | ||
| 174 | + "wenn die Kommandozeilenoption :option:`-S` angegeben ist) fügt dem " | ||
| 175 | + "integrierten Namensraum mehrere Konstanten hinzu. Sie sind für die " | ||
| 176 | + "interaktive Interpreter-Shell nützlich und sollten nicht in Programmen " | ||
| 177 | + "verwendet werden." | ||
| 125 | 178 | ||
| 126 | 179 | #: ../../library/constants.rst:100 | |
| 127 | 180 | msgid "" | |
| 128 | 181 | "Objects that when printed, print a message like \"Use quit() or Ctrl-D (i.e. " | |
| 129 | 182 | "EOF) to exit\", and when accessed directly in the interactive interpreter or " | |
| 130 | 183 | "called as functions, raise :exc:`SystemExit` with the specified exit code." | |
| 131 | 184 | msgstr "" | |
| 185 | + "Objekte, die beim Ausgeben eine Meldung wie „Use quit() or Ctrl-D (i.e. " | ||
| 186 | + "EOF) to exit“ anzeigen. Wenn im interaktiven Interpreter direkt auf sie " | ||
| 187 | + "zugegriffen wird oder sie als Funktionen aufgerufen werden, lösen sie " | ||
| 188 | + ":exc:`SystemExit` mit dem angegebenen Exit-Code aus." | ||
| 132 | 189 | ||
| 133 | 190 | #: ../../library/constants.rst:108 | |
| 134 | 191 | msgid "" | |
@@ -137,24 +194,33 @@ msgid "" | |||
| 137 | 194 | "in the interactive interpreter, invokes the built-in help system (see :func:" | |
| 138 | 195 | "`help`)." | |
| 139 | 196 | msgstr "" | |
| 197 | + "Objekt, das beim Ausgeben die Meldung „Type help() for interactive help, " | ||
| 198 | + "or help(object) for help about object.“ anzeigt. Wenn im interaktiven " | ||
| 199 | + "Interpreter direkt darauf zugegriffen wird, startet es das integrierte " | ||
| 200 | + "Hilfesystem (siehe :func:`help`)." | ||
| 140 | 201 | ||
| 141 | 202 | #: ../../library/constants.rst:116 | |
| 142 | 203 | msgid "" | |
| 143 | 204 | "Objects that when printed or called, print the text of copyright or credits, " | |
| 144 | 205 | "respectively." | |
| 145 | 206 | msgstr "" | |
| 207 | + "Objekte, die beim Ausgeben oder Aufrufen den Copyright-Text bzw. die " | ||
| 208 | + "Danksagungen anzeigen." | ||
| 146 | 209 | ||
| 147 | 210 | #: ../../library/constants.rst:121 | |
| 148 | 211 | msgid "" | |
| 149 | 212 | "Object that when printed, prints the message \"Type license() to see the " | |
| 150 | 213 | "full license text\", and when called, displays the full license text in a " | |
| 151 | 214 | "pager-like fashion (one screen at a time)." | |
| 152 | 215 | msgstr "" | |
| 216 | + "Objekt, das beim Ausgeben die Meldung „Type license() to see the full " | ||
| 217 | + "license text“ anzeigt. Beim Aufrufen zeigt es den vollständigen Lizenztext " | ||
| 218 | + "seitenweise wie in einem Pager an (jeweils eine Bildschirmseite)." | ||
| 153 | 219 | ||
| 154 | 220 | #: ../../library/constants.rst:65 | |
| 155 | 221 | msgid "..." | |
| 156 | - msgstr "" | ||
| 222 | + msgstr "..." | ||
| 157 | 223 | ||
| 158 | 224 | #: ../../library/constants.rst:65 | |
| 159 | 225 | msgid "ellipsis literal" | |
| 160 | - msgstr "" | ||
| 226 | + msgstr "Ellipse-Literal" | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments