Repository navigation
Expand file tree
/
Copy pathfunctions.po
More file actions
4995 lines (4446 loc) · 208 KB
/
Copy pathfunctions.po
File metadata and controls
4995 lines (4446 loc) · 208 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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# German translation of the Python documentation.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# Swen Bachmann, 2026
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-16 03:06+0000\n"
"PO-Revision-Date: 2026-11-01 16:00+0100\n"
"Last-Translator: Swen Bachmann\n"
"Language-Team: German (https://github.com/python/python-docs-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"
#: ../../builtins/functions.rst:5
msgid "Built-in functions"
msgstr "Integrierte Funktionen"
#: ../../builtins/functions.rst:7
msgid ""
"The Python interpreter has a number of functions and types built into it "
"that are always available. They are listed here in alphabetical order."
msgstr ""
"Der Python-Interpreter verfügt über eine Reihe integrierter Funktionen und "
"Typen,die jederzeit verfügbar sind. Sie sind hier in alphabetischer "
"Reihenfolge aufgeführt."
#: ../../builtins/functions.rst:11
msgid "Built-in Functions"
msgstr "Integrierte Funktionen"
#: ../../builtins/functions.rst:13
msgid "**A**"
msgstr "**A**"
#: ../../builtins/functions.rst:14
msgid ":func:`abs`"
msgstr ":func:`abs`"
#: ../../builtins/functions.rst:15
msgid ":func:`aiter`"
msgstr ":func:`aiter`"
#: ../../builtins/functions.rst:16
msgid ":func:`all`"
msgstr ":func:`all`"
#: ../../builtins/functions.rst:17
msgid ":func:`anext`"
msgstr ":func:`anext`"
#: ../../builtins/functions.rst:18
msgid ":func:`any`"
msgstr ":func:`any`"
#: ../../builtins/functions.rst:19
msgid ":func:`ascii`"
msgstr ":func:`ascii`"
#: ../../builtins/functions.rst:21
msgid "**B**"
msgstr "**B**"
#: ../../builtins/functions.rst:22
msgid ":func:`bin`"
msgstr ":func:`bin`"
#: ../../builtins/functions.rst:23
msgid ":func:`bool`"
msgstr ":func:`bool`"
#: ../../builtins/functions.rst:24
msgid ":func:`breakpoint`"
msgstr ":func:`breakpoint`"
#: ../../builtins/functions.rst:25
msgid "|func-bytearray|_"
msgstr "|func-bytearray|_"
#: ../../builtins/functions.rst:26
msgid "|func-bytes|_"
msgstr "|func-bytes|_"
#: ../../builtins/functions.rst:28
msgid "**C**"
msgstr "**C**"
#: ../../builtins/functions.rst:29
msgid ":func:`callable`"
msgstr ":func:`callable`"
#: ../../builtins/functions.rst:30
msgid ":func:`chr`"
msgstr ":func:`chr`"
#: ../../builtins/functions.rst:31
msgid ":func:`classmethod`"
msgstr ":func:`classmethod`"
#: ../../builtins/functions.rst:32
msgid ":func:`compile`"
msgstr ":func:`compile`"
#: ../../builtins/functions.rst:33
msgid ":func:`complex`"
msgstr ":func:`complex`"
#: ../../builtins/functions.rst:35
msgid "**D**"
msgstr "**D**"
#: ../../builtins/functions.rst:36
msgid ":func:`delattr`"
msgstr ":func:`delattr`"
#: ../../builtins/functions.rst:37
msgid "|func-dict|_"
msgstr "|func-dict|_"
#: ../../builtins/functions.rst:38
msgid ":func:`dir`"
msgstr ":func:`dir`"
#: ../../builtins/functions.rst:39
msgid ":func:`divmod`"
msgstr ":func:`divmod`"
#: ../../builtins/functions.rst:13
msgid "**E**"
msgstr "**E**"
#: ../../builtins/functions.rst:14
msgid ":func:`enumerate`"
msgstr ":func:`enumerate`"
#: ../../builtins/functions.rst:15
msgid ":func:`eval`"
msgstr ":func:`eval`"
#: ../../builtins/functions.rst:16
msgid ":func:`exec`"
msgstr ":func:`exec`"
#: ../../builtins/functions.rst:18
msgid "**F**"
msgstr "**F**"
#: ../../builtins/functions.rst:19
msgid ":func:`filter`"
msgstr ":func:`filter`"
#: ../../builtins/functions.rst:20
msgid ":func:`float`"
msgstr ":func:`float`"
#: ../../builtins/functions.rst:21
msgid ":func:`format`"
msgstr ":func:`format`"
#: ../../builtins/functions.rst:22
msgid "|func-frozendict|_"
msgstr "|func-frozendict|_"
#: ../../builtins/functions.rst:23
msgid "|func-frozenset|_"
msgstr "|func-frozenset|_"
#: ../../builtins/functions.rst:25
msgid "**G**"
msgstr "**G**"
#: ../../builtins/functions.rst:26
msgid ":func:`getattr`"
msgstr ":func:`getattr`"
#: ../../builtins/functions.rst:27
msgid ":func:`globals`"
msgstr ":func:`globals`"
#: ../../builtins/functions.rst:29
msgid "**H**"
msgstr "**H**"
#: ../../builtins/functions.rst:30
msgid ":func:`hasattr`"
msgstr ":func:`hasattr`"
#: ../../builtins/functions.rst:31
msgid ":func:`hash`"
msgstr ":func:`hash`"
#: ../../builtins/functions.rst:32
msgid ":func:`help`"
msgstr ":func:`help`"
#: ../../builtins/functions.rst:33
msgid ":func:`hex`"
msgstr ":func:`hex`"
#: ../../builtins/functions.rst:35
msgid "**I**"
msgstr "**I**"
#: ../../builtins/functions.rst:36
msgid ":func:`id`"
msgstr ":func:`id`"
#: ../../builtins/functions.rst:37
msgid ":func:`input`"
msgstr ":func:`input`"
#: ../../builtins/functions.rst:38
msgid ":func:`int`"
msgstr ":func:`int`"
#: ../../builtins/functions.rst:39
msgid ":func:`isinstance`"
msgstr ":func:`isinstance`"
#: ../../builtins/functions.rst:40
msgid ":func:`issubclass`"
msgstr ":func:`issubclass`"
#: ../../builtins/functions.rst:41
msgid ":func:`iter`"
msgstr ":func:`iter`"
#: ../../builtins/functions.rst:13
msgid "**L**"
msgstr "**L**"
#: ../../builtins/functions.rst:14
msgid ":func:`len`"
msgstr ":func:`len`"
#: ../../builtins/functions.rst:15
msgid "|func-list|_"
msgstr "|func-list|_"
#: ../../builtins/functions.rst:16
msgid ":func:`locals`"
msgstr ":func:`locals`"
#: ../../builtins/functions.rst:18
msgid "**M**"
msgstr "**M**"
#: ../../builtins/functions.rst:19
msgid ":func:`map`"
msgstr ":func:`map`"
#: ../../builtins/functions.rst:20
msgid ":func:`max`"
msgstr ":func:`max`"
#: ../../builtins/functions.rst:21
msgid "|func-memoryview|_"
msgstr "|func-memoryview|_"
#: ../../builtins/functions.rst:22
msgid ":func:`min`"
msgstr ":func:`min`"
#: ../../builtins/functions.rst:24
msgid "**N**"
msgstr "**N**"
#: ../../builtins/functions.rst:25
msgid ":func:`next`"
msgstr ":func:`next`"
#: ../../builtins/functions.rst:27
msgid "**O**"
msgstr "**O**"
#: ../../builtins/functions.rst:28
msgid ":func:`object`"
msgstr ":func:`object`"
#: ../../builtins/functions.rst:29
msgid ":func:`oct`"
msgstr ":func:`oct`"
#: ../../builtins/functions.rst:30
msgid ":func:`open`"
msgstr ":func:`open`"
#: ../../builtins/functions.rst:31
msgid ":func:`ord`"
msgstr ":func:`ord`"
#: ../../builtins/functions.rst:33
msgid "**P**"
msgstr "**P**"
#: ../../builtins/functions.rst:34
msgid ":func:`pow`"
msgstr ":func:`pow`"
#: ../../builtins/functions.rst:35
msgid ":func:`print`"
msgstr ":func:`print`"
#: ../../builtins/functions.rst:36
msgid ":func:`property`"
msgstr ":func:`property`"
#: ../../builtins/functions.rst:13
msgid "**R**"
msgstr "**R**"
#: ../../builtins/functions.rst:14
msgid "|func-range|_"
msgstr "|func-range|_"
#: ../../builtins/functions.rst:15
msgid ":func:`repr`"
msgstr ":func:`repr`"
#: ../../builtins/functions.rst:16
msgid ":func:`reversed`"
msgstr ":func:`reversed`"
#: ../../builtins/functions.rst:17
msgid ":func:`round`"
msgstr ":func:`round`"
#: ../../builtins/functions.rst:19
msgid "**S**"
msgstr "**S**"
#: ../../builtins/functions.rst:20
msgid "|func-set|_"
msgstr "|func-set|_"
#: ../../builtins/functions.rst:21
msgid ":func:`setattr`"
msgstr ":func:`setattr`"
#: ../../builtins/functions.rst:22
msgid ":func:`sentinel`"
msgstr ":func:`sentinel`"
#: ../../builtins/functions.rst:23
msgid ":func:`slice`"
msgstr ":func:`slice`"
#: ../../builtins/functions.rst:24
msgid ":func:`sorted`"
msgstr ":func:`sorted`"
#: ../../builtins/functions.rst:25
msgid ":func:`staticmethod`"
msgstr ":func:`staticmethod`"
#: ../../builtins/functions.rst:26
msgid "|func-str|_"
msgstr "|func-str|_"
#: ../../builtins/functions.rst:27
msgid ":func:`sum`"
msgstr ":func:`sum`"
#: ../../builtins/functions.rst:28
msgid ":func:`super`"
msgstr ":func:`super`"
#: ../../builtins/functions.rst:30
msgid "**T**"
msgstr "**T**"
#: ../../builtins/functions.rst:31
msgid "|func-tuple|_"
msgstr "|func-tuple|_"
#: ../../builtins/functions.rst:32
msgid ":func:`type`"
msgstr ":func:`type`"
#: ../../builtins/functions.rst:34
msgid "**V**"
msgstr "**V**"
#: ../../builtins/functions.rst:35
msgid ":func:`vars`"
msgstr ":func:`vars`"
#: ../../builtins/functions.rst:37
msgid "**Z**"
msgstr "**Z**"
#: ../../builtins/functions.rst:38
msgid ":func:`zip`"
msgstr ":func:`zip`"
#: ../../builtins/functions.rst:40
msgid "**_**"
msgstr "**_**"
#: ../../builtins/functions.rst:41
msgid ":func:`__import__`"
msgstr ":func:`__import__`"
#: ../../builtins/functions.rst:61
msgid ""
"Return the absolute value of a number. The argument may be an integer, a "
"floating-point number, or an object implementing :meth:`~object.__abs__`. If "
"the argument is a complex number, its magnitude is returned."
msgstr ""
"Gibt den Absolutwert einer Zahl zurück. Das Argument kann eine Ganzzahl, "
"eine Gleitkommazahl oder ein Objekt sein, das :meth:`~object.__abs__` "
"implementiert. Handelt es sich bei dem Argument um eine komplexe Zahl, wird "
"deren Betrag zurückgegeben."
#: ../../builtins/functions.rst:69
msgid ""
"Return an :term:`asynchronous iterator` for an :term:`asynchronous "
"iterable`. Equivalent to calling ``x.__aiter__()``."
msgstr ""
"Gibt einen :term:`asynchronous iterator` für ein :term:`asynchronous "
"iterable` zurück. Entspricht dem Aufruf von ``x.__aiter__()``."
#: ../../builtins/functions.rst:72
msgid "Note: Unlike :func:`iter`, :func:`aiter` has no 2-argument variant."
msgstr ""
"Hinweis: Im Gegensatz zu :func:`iter` gibt es bei :func:`aiter` keine "
"Variante mit zwei Argumenten"
#: ../../builtins/functions.rst:78
msgid ""
"Return ``True`` if all elements of the *iterable* are true (or if the "
"iterable is empty). Equivalent to::"
msgstr ""
"Gibt ``True`` zurück, wenn alle Elemente des *iterable* wahr sind (oder wenn "
"das iterable leer ist). Entspricht::"
#: ../../builtins/functions.rst:81
msgid ""
"def all(iterable):\n"
" for element in iterable:\n"
" if not element:\n"
" return False\n"
" return True"
msgstr ""
"def all(iterable):\n"
" for element in iterable:\n"
" if not element:\n"
" return False\n"
" return True"
#: ../../builtins/functions.rst:91
msgid ""
"When awaited, return the next item from the given :term:`asynchronous "
"iterator`, or *default* if given and the iterator is :term:`exhausted`."
msgstr ""
"Gibt beim Erwarten das nächste Element des angegebenen :term:`asynchronen "
"Iterators <asynchronous iterator>` zurück – oder *default*, falls angegeben "
"und der Iterator :term:`erschöpft <exhausted>` ist."
#: ../../builtins/functions.rst:94
msgid ""
"This is the async variant of the :func:`next` builtin, and behaves similarly."
msgstr ""
"Dies ist die asynchrone Variante der integrierten Funktion :func:`next` und "
"verhält sich ähnlich."
#: ../../builtins/functions.rst:97
msgid ""
"This calls the :meth:`~object.__anext__` method of *async_iterator*, "
"returning an :term:`awaitable`. Awaiting this returns the next value of the "
"iterator. If *default* is given, it is returned if the iterator is "
"exhausted, otherwise :exc:`StopAsyncIteration` is raised."
msgstr ""
"Dies ruft die Methode :meth:`~object.__anext__` von *async_iterator* auf und "
"gibt ein :term:`awaitable` zurück. Das Warten auf dieses (mittels ``await``) "
"liefert den nächsten Wert des Iterators. Wenn *default* angegeben ist, wird "
"dieser Wert zurückgegeben, falls der Iterator erschöpft ist. Andernfalls "
"wird :exc:`StopAsyncIteration` ausgelöst."
#: ../../builtins/functions.rst:106
msgid ""
"Return ``True`` if any element of the *iterable* is true. If the iterable "
"is empty, return ``False``. Equivalent to::"
msgstr ""
"Gibt ``True`` zurück, wenn mindestens ein Element des *iterable* wahr ist. "
"Wenn das Iterable leer ist, wird ``False`` zurückgegeben. Entspricht::"
#: ../../builtins/functions.rst:109
msgid ""
"def any(iterable):\n"
" for element in iterable:\n"
" if element:\n"
" return True\n"
" return False"
msgstr ""
"def any(iterable):\n"
" for element in iterable:\n"
" if element:\n"
" return True\n"
" return False"
#: ../../builtins/functions.rst:118
msgid ""
"As :func:`repr`, return a string containing a printable representation of an "
"object, but escape the non-ASCII characters in the string returned "
"by :func:`repr` using ``\\x``, ``\\u``, or ``\\U`` escapes. This generates "
"a string similar to that returned by :func:`repr` in Python 2."
msgstr ""
"Gibt wie :func:`repr` einen String zurück, der eine druckbare Darstellung "
"eines Objekts enthält. Allerdings werden Nicht-ASCII-Zeichen in dem "
"von :func:`repr` zurückgegebenen String mittels ``\\x``-, ``\\u``- oder "
"``\\U``-Escapes maskiert. Dies erzeugt einen String, der dem ähnelt, "
"den :func:`repr` in Python 2 zurückgibt."
#: ../../builtins/functions.rst:126
msgid ""
"Convert an integer number to a binary string prefixed with \"0b\". The "
"result is a valid Python expression. If *integer* is not a "
"Python :class:`int` object, it has to define an :meth:`~object.__index__` "
"method that returns an integer. Some examples:"
msgstr ""
"Wandelt eine Ganzzahl in eine Binärzeichenkette mit dem Präfix „0b“ um. Das "
"Ergebnis ist ein gültiger Python-Ausdruck. Wenn *integer* kein Python-Objekt "
"vom Typ :class:`int` ist, muss es eine :meth:`~object.__index__`-Methode "
"definieren, die eine Ganzzahl zurückgibt. Einige Beispiele:"
#: ../../builtins/functions.rst:136
msgid ""
"If the prefix \"0b\" is desired or not, you can use either of the following "
"ways."
msgstr ""
"Je nachdem, ob das Präfix „0b“ gewünscht ist oder nicht, kannst du eine der "
"folgenden Methoden verwenden."
#: ../../builtins/functions.rst:143
msgid ""
"See also :func:`enum.bin` to represent negative values as twos-complement."
msgstr ""
"Siehe auch :func:`enum.bin`, um negative Werte als Zweierkomplement "
"darzustellen."
#: ../../builtins/functions.rst:145 ../../builtins/functions.rst:1007
#: ../../builtins/functions.rst:1391
msgid "See also :func:`format` for more information."
msgstr "Weitere Informationen findest du unter :func:`format`."
#: ../../builtins/functions.rst:150
msgid ""
"Return a Boolean value, i.e. one of ``True`` or ``False``. The argument is "
"converted using the standard :ref:`truth testing procedure <truth>`. If the "
"argument is false or omitted, this returns ``False``; otherwise, it returns "
"``True``. The :class:`bool` class is a subclass of :class:`int` "
"(see :ref:`typesnumeric`). It cannot be subclassed further. Its only "
"instances are ``False`` and ``True`` (see :ref:`typebool`)."
msgstr ""
"Gibt einen booleschen Wert zurück, d. h. entweder ``True`` oder ``False``. "
"Das Argument wird mithilfe des Standardverfahrens zur "
"Wahrheitsprüfung :ref:`truth testing procedure <truth>` umgewandelt. Ist das "
"Argument falsch oder wird es weggelassen, wird ``False`` zurückgegeben. "
"Andernfalls wird ``True`` zurückgegeben. Die Klasse :class:`bool` ist eine "
"Unterklasse von :class:`int` (siehe :ref:`typesnumeric`). Sie kann nicht "
"weiter unterteilt werden. Ihre einzigen Instanzen sind ``False`` und "
"``True`` (siehe :ref:`typebool`)."
#: ../../builtins/functions.rst:160 ../../builtins/functions.rst:857
msgid "The parameter is now positional-only."
msgstr "Der Parameter ist jetzt rein positionsgebunden."
#: ../../builtins/functions.rst:165
msgid ""
"This function drops you into the debugger at the call site. Specifically, "
"it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight "
"through. By default, ``sys.breakpointhook()`` calls :func:`pdb.set_trace` "
"expecting no arguments. In this case, it is purely a convenience function "
"so you don't have to explicitly import :mod:`pdb` or type as much code to "
"enter the debugger. However, :func:`sys.breakpointhook` can be set to some "
"other function and :func:`breakpoint` will automatically call that, allowing "
"you to drop into the debugger of choice. If :func:`sys.breakpointhook` is "
"not accessible, this function will raise :exc:`RuntimeError`."
msgstr ""
"Diese Funktion ruft an der Aufrufstelle den Debugger auf. Genauer gesagt "
"ruft sie :func:`sys.breakpointhook` auf und reicht dabei ``args`` und "
"``kws`` direkt weiter. Standardmäßig ruft ``sys.breakpointhook()`` die "
"Funktion :func:`pdb.set_trace` ohne Argumente auf. In diesem Fall handelt es "
"sich lediglich um eine Komfortfunktion, damit du :mod:`pdb` nicht explizit "
"importieren oder viel Code schreiben musst, um in den Debugger zu "
"gelangen. :func:`sys.breakpointhook` kann jedoch auf eine andere Funktion "
"gesetzt werden, die dann automatisch von :func:`breakpoint` aufgerufen wird. "
"So kannst du den Debugger deiner Wahl verwenden. "
"Ist :func:`sys.breakpointhook` nicht verfügbar, löst diese Funktion "
"einen :exc:`RuntimeError` aus."
#: ../../builtins/functions.rst:177
msgid ""
"By default, the behavior of :func:`breakpoint` can be changed with "
"the :envvar:`PYTHONBREAKPOINT` environment variable. "
"See :func:`sys.breakpointhook` for usage details."
msgstr ""
"Standardmäßig lässt sich das Verhalten von :func:`breakpoint` über die "
"Umgebungsvariable :envvar:`PYTHONBREAKPOINT` ändern. Einzelheiten zur "
"Verwendung findest du unter :func:`sys.breakpointhook`."
#: ../../builtins/functions.rst:181
msgid ""
"Note that this is not guaranteed if :func:`sys.breakpointhook` has been "
"replaced."
msgstr ""
"Beachte, dass dies nicht garantiert ist, wenn :func:`sys.breakpointhook` "
"ersetzt wurde."
#: ../../builtins/functions.rst:184
msgid ""
"Raises an :ref:`auditing event <auditing>` ``builtins.breakpoint`` with "
"argument ``breakpointhook``."
msgstr ""
"Löst ein :ref:`Audit-Ereignis <auditing>` ``builtins.breakpoint`` mit dem "
"Argument ``breakpointhook`` aus."
#: ../../builtins/functions.rst:193
msgid ""
"Return a new array of bytes. The :class:`bytearray` class is a mutable "
"sequence of integers in the range 0 <= x < 256. It has most of the usual "
"methods of mutable sequences, described in :ref:`typesseq-mutable`, as well "
"as most methods that the :class:`bytes` type has, see :ref:`bytes-methods`."
msgstr ""
"Gibt ein neues Byte-Array zurück. Die Klasse :class:`bytearray` ist eine "
"veränderbare Sequenz von Ganzzahlen im Bereich 0 <= x < 256. Sie verfügt "
"über die meisten der üblichen Methoden veränderbarer Sequenzen, die "
"unter :ref:`typesseq-mutable` beschrieben sind, sowie über die meisten "
"Methoden des Typs :class:`bytes`, siehe :ref:`bytes-methods`."
#: ../../builtins/functions.rst:198
msgid ""
"The optional *source* parameter can be used to initialize the array in a few "
"different ways:"
msgstr ""
"Der optionale Parameter *source* kann verwendet werden, um das Array auf "
"unterschiedlichen Wegen zu initialisieren:"
#: ../../builtins/functions.rst:201
msgid ""
"If it is a *string*, you must also give the *encoding* (and optionally, "
"*errors*) parameters; :func:`bytearray` then converts the string to bytes "
"using :meth:`str.encode`."
msgstr ""
"Wenn es sich um einen *string* handelt, musst du auch die Parameter "
"*encoding* (und optional *errors*) angeben; :func:`bytearray` wandelt den "
"String dann mithilfe von :meth:`str.encode` in Bytes um."
#: ../../builtins/functions.rst:205
msgid ""
"If it is an *integer*, the array will have that size and will be initialized "
"with null bytes."
msgstr ""
"Wenn es sich um eine Ganzzahl (*integer*) handelt, erhält das Array diese "
"Größe und wird mit Null-Bytes initialisiert."
#: ../../builtins/functions.rst:208
msgid ""
"If it is an object conforming to the :ref:`buffer interface "
"<bufferobjects>`, a read-only buffer of the object will be used to "
"initialize the bytes array."
msgstr ""
"Handelt es sich um ein Objekt, das dem :ref:`buffer interface "
"<bufferobjects>` entspricht, so wird ein schreibgeschützter Puffer des "
"Objekts verwendet, um das Bytes-Array zu initialisieren."
#: ../../builtins/functions.rst:211
msgid ""
"If it is an *iterable*, it must be an iterable of integers in the range ``0 "
"<= x < 256``, which are used as the initial contents of the array."
msgstr ""
"Wenn es sich um ein *iterable* handelt, muss es eine Liste von Ganzzahlen im "
"Bereich ``0 <= x < 256`` sein, die als anfänglicher Inhalt des Arrays "
"verwendet werden."
#: ../../builtins/functions.rst:214
msgid "Without an argument, an array of size 0 is created."
msgstr "Ohne Argument wird ein Array der Größe 0 erstellt."
#: ../../builtins/functions.rst:216
msgid "See also :ref:`binaryseq` and :ref:`typebytearray`."
msgstr "Siehe auch :ref:`binaryseq` und :ref:`typebytearray`."
#: ../../builtins/functions.rst:224
msgid ""
"Return a new \"bytes\" object which is an immutable sequence of integers in "
"the range ``0 <= x < 256``. :class:`bytes` is an immutable version "
"of :class:`bytearray` -- it has the same non-mutating methods and the same "
"indexing and slicing behavior."
msgstr ""
"Gibt ein neues „bytes“-Objekt zurück, bei dem es sich um eine "
"unveränderliche Sequenz von Ganzzahlen im Bereich ``0 <= x < 256`` "
"handelt. :class:`bytes` ist eine unveränderliche Version "
"von :class:`bytearray` – es verfügt über dieselben nicht-modifizierenden "
"Methoden sowie dasselbe Verhalten bei Indizierung und Slicing."
#: ../../builtins/functions.rst:229
msgid ""
"Accordingly, constructor arguments are interpreted as for :func:`bytearray`."
msgstr ""
"Demzufolge werden die Konstruktorargumente wie bei :func:`bytearray` "
"interpretiert."
#: ../../builtins/functions.rst:231
msgid "Bytes objects can also be created with literals, see :ref:`strings`."
msgstr ""
"Bytes-Objekte können auch mithilfe von Literalen erstellt werden. "
"Siehe :ref:`strings`."
#: ../../builtins/functions.rst:233
msgid "See also :ref:`binaryseq`, :ref:`typebytes`, and :ref:`bytes-methods`."
msgstr ""
"Siehe auch :ref:`binaryseq`, :ref:`typebytes` und :ref:`bytes-methods`."
#: ../../builtins/functions.rst:238
msgid ""
"Return :const:`True` if the *object* argument appears "
"callable, :const:`False` if not. If this returns ``True``, it is still "
"possible that a call fails, but if it is ``False``, calling *object* will "
"never succeed. Note that classes are callable (calling a class returns a new "
"instance); instances are callable if their class has "
"a :meth:`~object.__call__` method."
msgstr ""
"Gibt :const:`True` zurück, wenn das Argument *object* aufrufbar erscheint, "
"andernfalls :const:`False`. Wenn dies ``True`` zurückgibt, ist es dennoch "
"möglich, dass ein Aufruf fehlschlägt. Ist es jedoch ``False``, wird der "
"Aufruf von *object* niemals erfolgreich sein. Beachte, dass Klassen "
"aufrufbar sind (der Aufruf einer Klasse gibt eine neue Instanz zurück); "
"Instanzen sind aufrufbar, wenn ihre Klasse über eine "
"Methode :meth:`~object.__call__` verfügt."
#: ../../builtins/functions.rst:244
msgid ""
"This function was first removed in Python 3.0 and then brought back in "
"Python 3.2."
msgstr ""
"Diese Funktion wurde zunächst in Python 3.0 entfernt und dann in Python 3.2 "
"wieder eingeführt."
#: ../../builtins/functions.rst:251
msgid ""
"Return the string representing a character with the specified Unicode code "
"point. For example, ``chr(97)`` returns the string ``'a'``, while "
"``chr(8364)`` returns the string ``'€'``. This is the inverse of :func:`ord`."
msgstr ""
"Gibt den String zurück, der das Zeichen mit dem angegebenen Unicode-"
"Codepunkt darstellt. Zum Beispiel liefert ``chr(97)`` den String ``'a'``, "
"während ``chr(8364)`` den String ``'€'`` liefert. Dies ist die "
"Umkehrfunktion zu :func:`ord`."
#: ../../builtins/functions.rst:255
msgid ""
"The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in "
"base 16). :exc:`ValueError` will be raised if it is outside that range."
msgstr ""
"Der zulässige Wertebereich für das Argument reicht von 0 bis 1.114.111 "
"(0x10FFFF im Hexadezimalsystem). Liegt der Wert außerhalb dieses Bereichs, "
"wird eine :exc:`ValueError`-Ausnahme ausgelöst."
#: ../../builtins/functions.rst:261
msgid "Transform a method into a class method."
msgstr "Wandelt eine Methode in eine Klassenmethode um."
#: ../../builtins/functions.rst:263
msgid ""
"A class method receives the class as an implicit first argument, just like "
"an instance method receives the instance. To declare a class method, use "
"this idiom::"
msgstr ""
"Eine Klassenmethode erhält die Klasse als implizites erstes Argument, genau "
"wie eine Instanzmethode die Instanz erhält. Um eine Klassenmethode zu "
"deklarieren, verwende dieses Idiom::"
#: ../../builtins/functions.rst:267
msgid ""
"class C:\n"
" @classmethod\n"
" def f(cls, arg1, arg2): ..."
msgstr ""
"class C:\n"
" @classmethod\n"
" def f(cls, arg1, arg2): ..."
#: ../../builtins/functions.rst:271
msgid ""
"The ``@classmethod`` form is a function :term:`decorator` -- "
"see :ref:`function` for details."
msgstr ""
"Die ``@classmethod``-Form ist eine Funktion :term:`Dekorator <decorator>` – "
"siehe :ref:`function` für Details."
#: ../../builtins/functions.rst:274
msgid ""
"A class method can be called either on the class (such as ``C.f()``) or on "
"an instance (such as ``C().f()``). The instance is ignored except for its "
"class. If a class method is called for a derived class, the derived class "
"object is passed as the implied first argument."
msgstr ""
"Eine Klassenmethode kann entweder auf der Klasse (z. B. ``C.f()``) oder auf "
"einer Instanz (z. B. ``C().f()``) aufgerufen werden. Die Instanz wird dabei "
"ignoriert, mit Ausnahme ihrer Klasse. Wird eine Klassenmethode für eine "
"abgeleitete Klasse aufgerufen, so wird das Objekt der abgeleiteten Klasse "
"als implizites erstes Argument übergeben."
#: ../../builtins/functions.rst:279
msgid ""
"Class methods are different than C++ or Java static methods. If you want "
"those, see :func:`staticmethod` in this section. For more information on "
"class methods, see :ref:`types`."
msgstr ""
"Klassenmethoden unterscheiden sich von statischen Methoden in C++ oder Java. "
"Wenn du solche benötigen, siehe :func:`staticmethod` in diesem Abschnitt. "
"Weitere Informationen zu Klassenmethoden findest du unter :ref:`types`."
#: ../../builtins/functions.rst:283
msgid ""
"Class methods can now wrap other :term:`descriptors <descriptor>` such "
"as :func:`property`."
msgstr ""
"Klassenmethoden können nun andere :term:`Deskriptoren <descriptor>` "
"wie :func:`property` umschließen."
#: ../../builtins/functions.rst:287
msgid ""
"Class methods now inherit the method attributes "
"(:attr:`~function.__module__`, :attr:`~function.__name__`, :attr:`~function.__qualname__`, :attr:`~function.__doc__` "
"and :attr:`~function.__annotations__`) and have a new ``__wrapped__`` "
"attribute."
msgstr ""
"Klassenmethoden erben nun die Methodenattribute "
"(:attr:`~function.__module__`, :attr:`~function.__name__`, :attr:`~function.__qualname__`, :attr:`~function.__doc__` "
"und :attr:`~function.__annotations__`) und verfügen über ein neues "
"``__wrapped__``-Attribut."
#: ../../builtins/functions.rst:294
msgid ""
"Class methods can no longer wrap other :term:`descriptors <descriptor>` such "
"as :func:`property`."
msgstr ""
"Klassenmethoden können keine anderen :term:`Deskriptoren <descriptor>` mehr "
"kapseln, wie etwa :func:`property`."
#: ../../builtins/functions.rst:303
msgid ""
"Compile the *source* into a code or AST object. Code objects can be "
"executed by :func:`exec` or :func:`eval`. *source* can either be a normal "
"string, a byte string, or an AST object. Refer to the :mod:`ast` module "
"documentation for information on how to work with AST objects."
msgstr ""
"Kompiliere *source* zu einem Code- oder AST-Objekt. Code-Objekte können "
"mit :func:`exec` oder :func:`eval` ausgeführt werden. *source* kann entweder "
"ein normaler String, ein Byte-String oder ein AST-Objekt sein. Informationen "
"zur Arbeit mit AST-Objekten findest du in der Dokumentation zum "
"Modul :mod:`ast`."
#: ../../builtins/functions.rst:308
msgid ""
"The *filename* argument should give the file from which the code was read; "
"pass some recognizable value if it wasn't read from a file (``'<string>'`` "
"is commonly used)."
msgstr ""
"Das Argument *filename* sollte die Datei angeben, aus der der Code gelesen "
"wurde. Übergib einen erkennbaren Wert, falls er nicht aus einer Datei "
"gelesen wurde (häufig wird ``'<string>'`` verwendet)."
#: ../../builtins/functions.rst:312
msgid ""
"The *mode* argument specifies what kind of code must be compiled; it can be "
"``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if "
"it consists of a single expression, or ``'single'`` if it consists of a "
"single interactive statement (in the latter case, expression statements that "
"evaluate to something other than ``None`` will be printed). It can also be "
"``'func_type'`` if *source* consists of a function type signature, for "
"example ``(int) -> str``; see :func:`ast.parse` for more information. This "
"mode requires passing :data:`ast.PyCF_ONLY_AST` in *flags*."
msgstr ""
"Das Argument *mode* legt fest, welche Art von Code kompiliert werden soll. "
"Es kann ``'exec'`` sein, wenn *source* aus einer Folge von Anweisungen "
"besteht, ``'eval'``, wenn es aus einem einzelnen Ausdruck besteht, oder "
"``'single'``, wenn es aus einer einzelnen interaktiven Anweisung besteht (im "
"letzteren Fall werden Ausdrucksanweisungen, die einen anderen Wert als "
"``None`` ergeben, ausgegeben). Es kann außerdem ``'func_type'`` sein, wenn "
"*source* aus einer Typsignatur einer Funktion besteht, zum Beispiel ``(int) "
"-> str``. Weitere Informationen stehen unter :func:`ast.parse`. Dieser Modus "
"erfordert, dass :data:`ast.PyCF_ONLY_AST` in *flags* übergeben wird."
#: ../../builtins/functions.rst:322
msgid ""
"The optional arguments *flags* and *dont_inherit* control "
"which :ref:`compiler options <ast-compiler-flags>` should be activated and "
"which :ref:`future features <future>` should be allowed. If neither is "
"present (or both are zero) the code is compiled with the same flags that "
"affect the code that is calling :func:`compile`. If the *flags* argument is "
"given and *dont_inherit* is not (or is zero) then the compiler options and "
"the future statements specified by the *flags* argument are used in addition "
"to those that would be used anyway. If *dont_inherit* is a non-zero integer "
"then the *flags* argument is it -- the flags (future features and compiler "
"options) in the surrounding code are ignored."
msgstr ""
"Die optionalen Argumente *flags* und *dont_inherit* steuern, "
"welche :ref:`Compiler-Optionen <ast-compiler-flags>` aktiviert und "
"welche :ref:`future features <future>` zugelassen werden sollen. Wenn keines "
"der Argumente angegeben ist (oder beide null sind), wird der Code mit "
"denselben Flags kompiliert, die auch für den Code gelten, "
"der :func:`compile` aufruft. Wird das Argument *flags* angegeben, "
"*dont_inherit* jedoch nicht (oder ist es null), so werden die durch *flags* "
"festgelegten Compiler-Optionen und future-Anweisungen zusätzlich zu jenen "
"verwendet, die ohnehin zur Anwendung kämen. Ist *dont_inherit* eine Ganzzahl "
"ungleich null, so ist das Argument *flags* allein maßgeblich – die Flags "
"(future-Funktionen und Compiler-Optionen) des umgebenden Codes werden "
"ignoriert."
#: ../../builtins/functions.rst:333
msgid ""
"Compiler options and future statements are specified by bits which can be "
"bitwise ORed together to specify multiple options. The bitfield required to "
"specify a given future feature can be found as "
"the :attr:`~__future__._Feature.compiler_flag` attribute on "
"the :class:`~__future__._Feature` instance in the :mod:`__future__` "
"module. :ref:`Compiler flags <ast-compiler-flags>` can be found "
"in :mod:`ast` module, with ``PyCF_`` prefix."
msgstr ""
"Compiler-Optionen und Future-Anweisungen werden durch Bits festgelegt, die "
"mittels bitweiser ODER-Verknüpfung kombiniert werden können, um mehrere "
"Optionen anzugeben. Das für eine bestimmte Future-Funktion erforderliche "
"Bitfeld ist als Attribut :attr:`~__future__._Feature.compiler_flag` der "
"Instanz von :class:`~__future__._Feature` im Modul :mod:`__future__` zu "
"finden. :ref:`Compiler-Flags <ast-compiler-flags>` sind im Modul :mod:`ast` "
"unter dem Präfix ``PyCF_`` zu finden."
#: ../../builtins/functions.rst:341
msgid ""
"The argument *optimize* specifies the optimization level of the compiler; "
"the default value of ``-1`` selects the optimization level of the "
"interpreter as given by :option:`-O` options. Explicit levels are ``0`` (no "
"optimization; ``__debug__`` is true), ``1`` (asserts are removed, "
"``__debug__`` is false) or ``2`` (docstrings are removed too)."
msgstr ""
"Das Argument *optimize* legt die Optimierungsstufe des Compilers fest. Der "
"Standardwert ``-1`` wählt die Optimierungsstufe des Interpreters, wie sie "
"durch die Optionen :option:`-O` bestimmt wird. Explizite Stufen sind ``0`` "
"(keine Optimierung; ``__debug__`` ist wahr), ``1`` (Erklärungen werden "
"entfernt, ``__debug__`` ist falsch) oder ``2`` (auch Docstrings werden "
"entfernt)."
#: ../../builtins/functions.rst:347
msgid ""
"The optional argument *module* specifies the module name. It is needed to "
"unambiguous :ref:`filter <warning-filter>` syntax warnings by module name."
msgstr ""
"Das optionale Argument *module* gibt den Modulnamen an. Es wird benötigt, um "
"Syntax-Warnungen anhand des Modulnamens eindeutig zu :ref:`filtern <warning-"
"filter>` zu können."
#: ../../builtins/functions.rst:351
msgid ""
"This function raises :exc:`SyntaxError` if the compiled source is invalid, "
"including a *source* containing a null character or that cannot be "
"decoded; :exc:`ValueError` if *mode* or *flags* is invalid, or if a string "
"*source* contains surrogate characters; :exc:`MemoryError` "
"or :exc:`RecursionError` if *source* is too complex to parse or compile, for "
"example an expression with many thousands of nested operators; "
"and :exc:`OverflowError` if *source* is too large."
msgstr ""
"Diese Funktion löst :exc:`SyntaxError` aus, wenn die kompilierte Quelle "
"ungültig ist, auch wenn ein *source* ein Nullzeichen enthält oder sich nicht "
"dekodieren lässt. Sie löst :exc:`ValueError` aus, wenn *mode* oder *flags* "
"ungültig ist oder wenn ein *source* als Zeichenkette Surrogatzeichen "
"enthält, :exc:`MemoryError` oder :exc:`RecursionError`, wenn *source* zu "
"komplex zum Parsen oder Kompilieren ist, zum Beispiel ein Ausdruck mit "
"vielen Tausend verschachtelten Operatoren, und :exc:`OverflowError`, wenn "
"*source* zu groß ist."
#: ../../builtins/functions.rst:360
msgid ""
"If you want to parse Python code into its AST representation, "
"see :func:`ast.parse`."
msgstr ""
"Wenn du Python-Code in seine AST-Darstellung parsen möchtest, "
"siehe :func:`ast.parse`."
#: ../../builtins/functions.rst:363 ../../builtins/functions.rst:365
msgid ""
"Raises an :ref:`auditing event <auditing>` ``compile`` with arguments "
"``source`` and ``filename``. This event may also be raised by implicit "
"compilation."
msgstr ""
"Löst ein :ref:`Audit-Ereignis <auditing>` namens ``compile`` mit den "
"Argumenten ``source`` und ``filename`` aus. Dieses Ereignis kann auch durch "
"implizite Kompilierung ausgelöst werden."
#: ../../builtins/functions.rst:371