Skip to content

Commit 395c965

Browse files
committed
/tutorial, fuzzy-Strings für 3.15 geprüft und übersetzt
1 parent 19fbc85 commit 395c965

14 files changed

Lines changed: 151 additions & 106 deletions

‎tutorial/appendix.po‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ msgstr ""
3939
"zur Zeilensteuerung unterstützt."
4040

4141
#: ../../tutorial/appendix.rst:17
42-
#, fuzzy
4342
msgid ""
4443
"Since Python 3.13, a new interactive shell is used by default. This one "
4544
"supports color, multiline editing, history browsing, and paste mode. To "

‎tutorial/classes.po‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,6 @@ msgstr ""
948948
"'Buddy'"
949949

950950
#: ../../tutorial/classes.rst:422
951-
#, fuzzy
952951
msgid ""
953952
"As discussed in :ref:`tut-object`, shared data can have possibly surprising "
954953
"effects involving :term:`mutable` objects such as lists and dictionaries. "
@@ -1493,6 +1492,8 @@ msgid ""
14931492
"In some cases multiple inheritance is not allowed; see :ref:`multiple-"
14941493
"inheritance` for details."
14951494
msgstr ""
1495+
"In manchen Fällen ist Mehrfachvererbung nicht erlaubt; siehe :ref:`multiple-"
1496+
"inheritance` für Details."
14961497

14971498
#: ../../tutorial/classes.rst:673
14981499
msgid "Private Variables"
@@ -1989,7 +1990,6 @@ msgid "Examples::"
19891990
msgstr "Beispiele::"
19901991

19911992
#: ../../tutorial/classes.rst:916
1992-
#, fuzzy
19931993
msgid ""
19941994
">>> sum(i*i for i in range(10)) # sum of squares\n"
19951995
"285\n"
@@ -2039,22 +2039,32 @@ msgid ""
20392039
"parentheses. That is to say, the following two pieces of code are "
20402040
"semantically equivalent::"
20412041
msgstr ""
2042+
"In den meisten Fällen müssen Generator-Ausdrücke in Klammern eingeschlossen "
2043+
"werden. Ein Sonderfall ist jedoch, wenn ein solcher Ausdruck als einziges "
2044+
"Argument einer Funktion übergeben wird (wie in den obigen Beispielen mit "
2045+
"``sum``, ``set``, ``max`` und ``list``); in diesem Fall muss der Generator-"
2046+
"Ausdruck nicht in ein zusätzliches Klammernpaar eingeschlossen werden. Das "
2047+
"heißt, die folgenden zwei Codestücke sind semantisch äquivalent::"
20422048

20432049
#: ../../tutorial/classes.rst:944
20442050
msgid ""
20452051
">>> f(x for x in y)\n"
20462052
">>> f((x for x in y))"
20472053
msgstr ""
2054+
">>> f(x for x in y)\n"
2055+
">>> f((x for x in y))"
20482056

20492057
#: ../../tutorial/classes.rst:947
20502058
msgid "as are the following::"
2051-
msgstr ""
2059+
msgstr "genauso wie die folgenden::"
20522060

20532061
#: ../../tutorial/classes.rst:949
20542062
msgid ""
20552063
">>> f(*x for x in y)\n"
20562064
">>> f((*x for x in y))"
20572065
msgstr ""
2066+
">>> f(*x for x in y)\n"
2067+
">>> f((*x for x in y))"
20582068

20592069
#: ../../tutorial/classes.rst:954
20602070
msgid "Footnotes"

‎tutorial/controlflow.po‎

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ msgstr ""
337337
"6"
338338

339339
#: ../../tutorial/controlflow.rst:157
340-
#, fuzzy
341340
msgid ""
342341
"Later we will see more functions that return iterables and take iterables as "
343342
"arguments. In chapter :ref:`tut-structures`, we will discuss :func:`list` "
@@ -982,7 +981,6 @@ msgstr ""
982981
"``True``, ``False`` und ``None`` jedoch auf Identität."
983982

984983
#: ../../tutorial/controlflow.rst:443
985-
#, fuzzy
986984
msgid ""
987985
"Patterns may use named constants. These must be dotted names to prevent "
988986
"them from being interpreted as capture variables::"
@@ -2313,13 +2311,15 @@ msgid ""
23132311
"The Python parser strips indentation from multi-line string literals when "
23142312
"they serve as module, class, or function docstrings."
23152313
msgstr ""
2314+
"Der Python-Parser entfernt die Einrückung aus mehrzeiligen String-"
2315+
"Literalen, wenn diese als Modul-, Klassen- oder Funktions-Docstrings "
2316+
"dienen."
23162317

23172318
#: ../../tutorial/controlflow.rst:1045
23182319
msgid "Here is an example of a multi-line docstring::"
23192320
msgstr "Hier ist ein Beispiel für einen mehrzeiligen Docstring::"
23202321

23212322
#: ../../tutorial/controlflow.rst:1047
2322-
#, fuzzy
23232323
msgid ""
23242324
">>> def my_function():\n"
23252325
"... \"\"\"Do nothing, but document it.\n"
@@ -2340,16 +2340,22 @@ msgid ""
23402340
" >>>"
23412341
msgstr ""
23422342
">>> def my_function():\n"
2343-
"... \\\"\\\"\\\"Tue nichts, aber dokumentiere es.\n"
2343+
"... \"\"\"Tut nichts, dokumentiert dies aber.\n"
23442344
"...\n"
2345-
"... Nein, wirklich, sie tut überhaupt nichts.\n"
2345+
"... Nein, wirklich, es tut nichts:\n"
2346+
"...\n"
2347+
"... >>> my_function()\n"
2348+
"... >>>\n"
23462349
"... \"\"\"\n"
23472350
"... pass\n"
23482351
"...\n"
23492352
">>> print(my_function.__doc__)\n"
2350-
"Tue nichts, aber dokumentiere es.\n"
2353+
"Tut nichts, dokumentiert dies aber.\n"
23512354
"\n"
2352-
"Nein, wirklich, sie tut überhaupt nichts."
2355+
"Nein, wirklich, es tut nichts:\n"
2356+
"\n"
2357+
" >>> my_function()\n"
2358+
" >>>"
23532359

23542360
#: ../../tutorial/controlflow.rst:1069
23552361
msgid "Function Annotations"
@@ -2418,7 +2424,6 @@ msgid "Intermezzo: Coding Style"
24182424
msgstr "Intermezzo: Programmierstil"
24192425

24202426
#: ../../tutorial/controlflow.rst:1106
2421-
#, fuzzy
24222427
msgid ""
24232428
"Now that you are about to write longer, more complex pieces of Python, it is "
24242429
"a good time to talk about *coding style*. Most languages can be written (or "

‎tutorial/datastructures.po‎

Lines changed: 68 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# Translators:
77
# python-doc bot, 2025
88
#
9-
#, fuzzy
109
msgid ""
1110
msgstr ""
1211
"Project-Id-Version: Python 3.14\n"
@@ -662,9 +661,8 @@ msgstr ""
662661
"unter :ref:`tut-unpacking-arguments`."
663662

664663
#: ../../tutorial/datastructures.rst:332
665-
#, fuzzy
666664
msgid "Unpacking in Lists and List Comprehensions"
667-
msgstr "Verschachtelte Listen-Abstraktion"
665+
msgstr "Entpacken in Listen und List Comprehensions"
668666

669667
#: ../../tutorial/datastructures.rst:334
670668
msgid ""
@@ -675,20 +673,34 @@ msgid ""
675673
"prefixing an expression by a ``*`` will unpack the result of that "
676674
"expression, adding each of its elements to the list we're creating::"
677675
msgstr ""
676+
"Der Abschnitt :ref:`tut-unpacking-arguments` beschreibt die Verwendung von "
677+
"``*``, um die Elemente eines iterierbaren Objekts zu \"entpacken\" und "
678+
"jedes einzeln als Argument an eine Funktion zu übergeben. Entpacken kann "
679+
"auch in anderen Kontexten verwendet werden, zum Beispiel beim Erstellen "
680+
"von Listen. Wird bei der Angabe von Listenelementen einem Ausdruck ein "
681+
"``*`` vorangestellt, wird das Ergebnis dieses Ausdrucks entpackt, wobei "
682+
"jedes seiner Elemente der Liste hinzugefügt wird, die wir gerade "
683+
"erstellen::"
678684

679685
#: ../../tutorial/datastructures.rst:341
680686
msgid ""
681687
">>> x = [1, 2, 3]\n"
682688
">>> [0, *x, 4, 5, 6]\n"
683689
"[0, 1, 2, 3, 4, 5, 6]"
684690
msgstr ""
691+
">>> x = [1, 2, 3]\n"
692+
">>> [0, *x, 4, 5, 6]\n"
693+
"[0, 1, 2, 3, 4, 5, 6]"
685694

686695
#: ../../tutorial/datastructures.rst:345
687696
msgid ""
688697
"This only works if the expression following the ``*`` evaluates to an "
689698
"iterable object; trying to unpack a non-iterable object will raise an "
690699
"exception::"
691700
msgstr ""
701+
"Dies funktioniert nur, wenn der Ausdruck nach dem ``*`` zu einem "
702+
"iterierbaren Objekt ausgewertet wird; der Versuch, ein nicht iterierbares "
703+
"Objekt zu entpacken, löst eine Ausnahme aus::"
692704

693705
#: ../../tutorial/datastructures.rst:348
694706
msgid ""
@@ -699,38 +711,57 @@ msgid ""
699711
" [0, *x, 2, 3, 4]\n"
700712
"TypeError: Value after * must be an iterable, not int"
701713
msgstr ""
714+
">>> x = 1\n"
715+
">>> [0, *x, 2, 3, 4]\n"
716+
"Traceback (most recent call last):\n"
717+
" File \"<python-input-1>\", line 1, in <module>\n"
718+
" [0, *x, 2, 3, 4]\n"
719+
"TypeError: Value after * must be an iterable, not int"
702720

703721
#: ../../tutorial/datastructures.rst:355
704722
msgid ""
705723
"Unpacking can also be used in list comprehensions, as a way to build a new "
706724
"list representing the concatenation of an arbitrary number of iterables::"
707725
msgstr ""
726+
"Entpacken kann auch in List Comprehensions verwendet werden, um eine neue "
727+
"Liste zu erstellen, die die Verkettung einer beliebigen Anzahl von "
728+
"iterierbaren Objekten darstellt::"
708729

709730
#: ../../tutorial/datastructures.rst:358
710731
msgid ""
711732
">>> x = [[1, 2, 3], [4, 5, 6], [], [7], [8, 9]]\n"
712733
">>> [*element for element in x]\n"
713734
"[1, 2, 3, 4, 5, 6, 7, 8, 9]"
714735
msgstr ""
736+
">>> x = [[1, 2, 3], [4, 5, 6], [], [7], [8, 9]]\n"
737+
">>> [*element for element in x]\n"
738+
"[1, 2, 3, 4, 5, 6, 7, 8, 9]"
715739

716740
#: ../../tutorial/datastructures.rst:362
717741
msgid ""
718742
"Note that the effect is that each element from ``x`` is unpacked. This "
719743
"works for arbitrary iterable objects, not just lists::"
720744
msgstr ""
745+
"Beachte, dass dabei jedes Element aus ``x`` entpackt wird. Dies "
746+
"funktioniert für beliebige iterierbare Objekte, nicht nur für Listen::"
721747

722748
#: ../../tutorial/datastructures.rst:365
723749
msgid ""
724750
">>> x = [[1, 2, 3], 'cat', {'spam': 'eggs'}]\n"
725751
">>> [*element for element in x]\n"
726752
"[1, 2, 3, 'c', 'a', 't', 'spam']"
727753
msgstr ""
754+
">>> x = [[1, 2, 3], 'cat', {'spam': 'eggs'}]\n"
755+
">>> [*element for element in x]\n"
756+
"[1, 2, 3, 'c', 'a', 't', 'spam']"
728757

729758
#: ../../tutorial/datastructures.rst:369
730759
msgid ""
731760
"But if the objects in ``x`` are not iterable, this expression would again "
732761
"raise an exception."
733762
msgstr ""
763+
"Wenn die Objekte in ``x`` jedoch nicht iterierbar sind, würde dieser "
764+
"Ausdruck erneut eine Ausnahme auslösen."
734765

735766
#: ../../tutorial/datastructures.rst:375
736767
msgid "The :keyword:`!del` statement"
@@ -822,27 +853,25 @@ msgstr ""
822853
"sind, zum Beispiel::"
823854

824855
#: ../../tutorial/datastructures.rst:415
825-
#, fuzzy
826-
msgid ""
827856
">>> t = 12345, 54321, 'hello!'\n"
828857
">>> t[0]\n"
829858
"12345\n"
830859
">>> t\n"
831860
"(12345, 54321, 'hello!')\n"
832-
">>> # Tuples may be nested:\n"
861+
">>> # Tupel können verschachtelt werden:\n"
833862
">>> u = t, (1, 2, 3, 4, 5)\n"
834863
">>> u\n"
835864
"((12345, 54321, 'hello!'), (1, 2, 3, 4, 5))\n"
836-
">>> # Tuples are immutable:\n"
865+
">>> # Tupel sind unveränderlich:\n"
837866
">>> t[0] = 88888\n"
838867
"Traceback (most recent call last):\n"
839868
" File \"<stdin>\", line 1, in <module>\n"
840869
"TypeError: 'tuple' object does not support item assignment\n"
841-
">>> # but they can contain mutable objects:\n"
870+
">>> # aber sie können veränderliche Objekte enthalten:\n"
842871
">>> v = ([1, 2, 3], [3, 2, 1])\n"
843872
">>> v\n"
844873
"([1, 2, 3], [3, 2, 1])\n"
845-
">>> # they support unpacking just like lists:\n"
874+
">>> # sie unterstützen Entpacken genau wie Listen:\n"
846875
">>> x = [1, 2, 3]\n"
847876
">>> 0, *x, 4\n"
848877
"(0, 1, 2, 3, 4)"
@@ -852,19 +881,23 @@ msgstr ""
852881
"12345\n"
853882
">>> t\n"
854883
"(12345, 54321, 'hello!')\n"
855-
">>> # Tupel können verschachtelt sein:\n"
884+
">>> # Tupel können verschachtelt werden:\n"
856885
">>> u = t, (1, 2, 3, 4, 5)\n"
857886
">>> u\n"
858887
"((12345, 54321, 'hello!'), (1, 2, 3, 4, 5))\n"
859888
">>> # Tupel sind unveränderlich:\n"
860889
">>> t[0] = 88888\n"
861-
"Traceback (letzter Aufruf zuletzt):\n"
862-
" Datei \"<stdin>\", Zeile 1, in <module>\n"
863-
"TypeError: Das Objekt \"tuple\" unterstützt keine Elementzuweisung\n"
864-
">>> # können jedoch veränderbare Objekte enthalten:\n"
890+
"Traceback (most recent call last):\n"
891+
" File \"<stdin>\", line 1, in <module>\n"
892+
"TypeError: 'tuple' object does not support item assignment\n"
893+
">>> # aber sie können veränderliche Objekte enthalten:\n"
865894
">>> v = ([1, 2, 3], [3, 2, 1])\n"
866895
">>> v\n"
867-
"([1, 2, 3], [3, 2, 1])"
896+
"([1, 2, 3], [3, 2, 1])\n"
897+
">>> # sie unterstützen Entpacken genau wie Listen:\n"
898+
">>> x = [1, 2, 3]\n"
899+
">>> 0, *x, 4\n"
900+
"(0, 1, 2, 3, 4)"
868901

869902
#: ../../tutorial/datastructures.rst:438
870903
msgid ""
@@ -1067,13 +1100,13 @@ msgstr ""
10671100
"{'r', 'd', 'b', 'm', 'z', 'l'}"
10681101

10691102
#: ../../tutorial/datastructures.rst:524
1070-
#, fuzzy
10711103
msgid ""
10721104
"Similarly to :ref:`list comprehensions <tut-listcomps>`, set comprehensions "
10731105
"are also supported, including comprehensions with unpacking::"
10741106
msgstr ""
1075-
"Ähnlich wie bei den :ref:`Listenkomprimierungen <tut-listcomps>` werden auch "
1076-
"Mengekomprimierungen unterstützt::"
1107+
"Ähnlich wie :ref:`List Comprehensions <tut-listcomps>` werden auch Set "
1108+
"Comprehensions unterstützt, einschließlich Comprehensions mit "
1109+
"Entpacken::"
10771110

10781111
#: ../../tutorial/datastructures.rst:527
10791112
msgid ""
@@ -1085,6 +1118,13 @@ msgid ""
10851118
">>> {*fruit for fruit in fruits}\n"
10861119
"{'blueberry', 'banana', 'avocado', 'apple', 'apricot'}"
10871120
msgstr ""
1121+
">>> a = {x for x in 'abracadabra' if x not in 'abc'}\n"
1122+
">>> a\n"
1123+
"{'r', 'd'}\n"
1124+
"\n"
1125+
">>> fruits = [{'apple', 'avocado', 'apricot'}, {'banana', 'blueberry'}]\n"
1126+
">>> {*fruit for fruit in fruits}\n"
1127+
"{'blueberry', 'banana', 'avocado', 'apple', 'apricot'}"
10881128

10891129
#: ../../tutorial/datastructures.rst:539
10901130
msgid "Dictionaries"
@@ -1268,6 +1308,8 @@ msgid ""
12681308
"And dictionary unpacking (via ``**``) can be used to merge multiple "
12691309
"dictionaries::"
12701310
msgstr ""
1311+
"Und Dictionary-Entpacken (mittels ``**``) kann verwendet werden, um "
1312+
"mehrere Dictionaries zusammenzuführen::"
12711313

12721314
#: ../../tutorial/datastructures.rst:615
12731315
msgid ""
@@ -1280,6 +1322,14 @@ msgid ""
12801322
">>> {**i for i in all_values}\n"
12811323
"{1: 1, 3: 9, 5: 25, 2: 4, 4: 16, 6: 36, 0: 0}"
12821324
msgstr ""
1325+
">>> odds = {i: i**2 for i in (1, 3, 5)}\n"
1326+
">>> evens = {i: i**2 for i in (2, 4, 6)}\n"
1327+
">>> {**odds, **evens}\n"
1328+
"{1: 1, 3: 9, 5: 25, 2: 4, 4: 16, 6: 36}\n"
1329+
"\n"
1330+
">>> all_values = [odds, evens, {0: 0}]\n"
1331+
">>> {**i for i in all_values}\n"
1332+
"{1: 1, 3: 9, 5: 25, 2: 4, 4: 16, 6: 36, 0: 0}"
12831333

12841334
#: ../../tutorial/datastructures.rst:624
12851335
msgid ""

0 commit comments

Comments
 (0)