-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathfunctions.po
More file actions
2151 lines (1774 loc) · 78.6 KB
/
functions.po
File metadata and controls
2151 lines (1774 loc) · 78.6 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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2021, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Maciej Olko <maciej.olko@gmail.com>, 2020
# Igor Zubrycki <igorzubrycki@gmail.com>, 2020
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-10 07:12+0000\n"
"PO-Revision-Date: 2017-02-16 23:11+0000\n"
"Last-Translator: Igor Zubrycki <igorzubrycki@gmail.com>, 2020\n"
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pl\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && "
"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
msgid "Built-in Functions"
msgstr "Funkcje wbudowane"
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 ""
"Interpreter Pythona ma wbudowane wiele funkcji i typów, które zawsze są "
"dostępne. Spisane są tutaj w kolejności alfabetycznej."
msgid ":func:`abs`"
msgstr ":func:`abs`"
msgid ":func:`delattr`"
msgstr ":func:`delattr`"
msgid ":func:`hash`"
msgstr ":func:`hash`"
msgid "|func-memoryview|_"
msgstr "|func-memoryview|_"
msgid "|func-set|_"
msgstr "|func-set|_"
msgid ":func:`all`"
msgstr ":func:`all`"
msgid "|func-dict|_"
msgstr "|func-dict|_"
msgid ":func:`help`"
msgstr ":func:`help`"
msgid ":func:`min`"
msgstr ":func:`min`"
msgid ":func:`setattr`"
msgstr ":func:`setattr`"
msgid ":func:`any`"
msgstr ":func:`any`"
msgid ":func:`dir`"
msgstr ":func:`dir`"
msgid ":func:`hex`"
msgstr ":func:`hex`"
msgid ":func:`next`"
msgstr ":func:`next`"
msgid ":func:`slice`"
msgstr ":func:`slice`"
msgid ":func:`ascii`"
msgstr ":func:`ascii`"
msgid ":func:`divmod`"
msgstr ":func:`divmod`"
msgid ":func:`id`"
msgstr ":func:`id`"
msgid ":func:`object`"
msgstr ":func:`object`"
msgid ":func:`sorted`"
msgstr ":func:`sorted`"
msgid ":func:`bin`"
msgstr ":func:`bin`"
msgid ":func:`enumerate`"
msgstr ":func:`enumerate`"
msgid ":func:`input`"
msgstr ":func:`input`"
msgid ":func:`oct`"
msgstr ":func:`oct`"
msgid ":func:`staticmethod`"
msgstr ":func:`staticmethod`"
msgid ":func:`bool`"
msgstr ":func:`bool`"
msgid ":func:`eval`"
msgstr ":func:`eval`"
msgid ":func:`int`"
msgstr ":func:`int`"
msgid ":func:`open`"
msgstr ":func:`open`"
msgid "|func-str|_"
msgstr "|func-str|_"
msgid ":func:`breakpoint`"
msgstr ":func:`breakpoint`"
msgid ":func:`exec`"
msgstr ":func:`exec`"
msgid ":func:`isinstance`"
msgstr ":func:`isinstance`"
msgid ":func:`ord`"
msgstr ":func:`ord`"
msgid ":func:`sum`"
msgstr ":func:`sum`"
msgid "|func-bytearray|_"
msgstr "|func-bytearray|_"
msgid ":func:`filter`"
msgstr ":func:`filter`"
msgid ":func:`issubclass`"
msgstr ":func:`issubclass`"
msgid ":func:`pow`"
msgstr ":func:`pow`"
msgid ":func:`super`"
msgstr ":func:`super`"
msgid "|func-bytes|_"
msgstr "|func-bytes|_"
msgid ":func:`float`"
msgstr ":func:`float`"
msgid ":func:`iter`"
msgstr ":func:`iter`"
msgid ":func:`print`"
msgstr ":func:`print`"
msgid "|func-tuple|_"
msgstr "|func-tuple|_"
msgid ":func:`callable`"
msgstr ":func:`callable`"
msgid ":func:`format`"
msgstr ":func:`format`"
msgid ":func:`len`"
msgstr ":func:`len`"
msgid ":func:`property`"
msgstr ":func:`property`"
msgid ":func:`type`"
msgstr ":func:`type`"
msgid ":func:`chr`"
msgstr ":func:`chr`"
msgid "|func-frozenset|_"
msgstr "|func-frozenset|_"
msgid "|func-list|_"
msgstr "|func-list|_"
msgid "|func-range|_"
msgstr "|func-range|_"
msgid ":func:`vars`"
msgstr ":func:`vars`"
msgid ":func:`classmethod`"
msgstr ":func:`classmethod`"
msgid ":func:`getattr`"
msgstr ":func:`getattr`"
msgid ":func:`locals`"
msgstr ":func:`locals`"
msgid ":func:`repr`"
msgstr ":func:`repr`"
msgid ":func:`zip`"
msgstr ":func:`zip`"
msgid ":func:`compile`"
msgstr ":func:`compile`"
msgid ":func:`globals`"
msgstr ":func:`globals`"
msgid ":func:`map`"
msgstr ":func:`map`"
msgid ":func:`reversed`"
msgstr ":func:`reversed`"
msgid ":func:`__import__`"
msgstr ":func:`__import__`"
msgid ":func:`complex`"
msgstr ":func:`complex`"
msgid ":func:`hasattr`"
msgstr ":func:`hasattr`"
msgid ":func:`max`"
msgstr ":func:`max`"
msgid ":func:`round`"
msgstr ":func:`round`"
msgid ""
"Return the absolute value of a number. The argument may be an integer, a "
"floating point number, or an object implementing :meth:`__abs__`. If the "
"argument is a complex number, its magnitude is returned."
msgstr ""
"Zwraca wartość bezwzględną liczby. Argument może być liczbą całkowitą, "
"zmiennoprzecinkową lub obiektem implementującym :meth:`__abs__`. Jeśli "
"argument jest liczbą zespoloną, zwracany jest jej moduł."
msgid ""
"Return ``True`` if all elements of the *iterable* are true (or if the "
"iterable is empty). Equivalent to::"
msgstr ""
"Zwraca ``True`` jeśli wszystkie elementy *iterable*'a są prawdziwe (lub "
"jeśli iterable jest pusty). Ekwiwalent kodu::"
msgid ""
"Return ``True`` if any element of the *iterable* is true. If the iterable "
"is empty, return ``False``. Equivalent to::"
msgstr ""
"Zwraca ``True`` jeśli jakikolwiek element *iterable*'a jest prawdziwy. Jeśli "
"iterable jest pusty, zwraca ``False``. Ekwiwalent kodu::"
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 ""
"Tak jak :func:`repr`, zwraca ciąg znaków zawierający reprezentację obiektu, "
"ale wypisuje znaki nie-ASCII w ciągu zwracanym przez :func:`repr` przy "
"użyciu escape'ów ``\\x``, ``\\u`` lub ``\\U``. Generuje ciąg znaków podobny "
"do tego zwracanego przez :func:`repr` w Pythonie 2."
msgid ""
"Convert an integer number to a binary string prefixed with \"0b\". The "
"result is a valid Python expression. If *x* is not a Python :class:`int` "
"object, it has to define an :meth:`__index__` method that returns an "
"integer. Some examples:"
msgstr ""
"Konwertuje liczbę całkowitą do binarnego ciągu znaków z prefiksem „0b”. "
"Wynik jest poprawnym wyrażeniem Pythona. Jeśli *x* nie jest pythonowym "
"obiektem :class:`int`, musi definiować metodę :meth:`__index__`, która "
"zwraca liczbę całkowitą. Kilka przykładów:"
msgid ""
"If prefix \"0b\" is desired or not, you can use either of the following ways."
msgstr ""
"Jeśli prefiks „0b” może nie być pożądany, możesz użyć dowolnego z poniższych "
"sposobów."
msgid "See also :func:`format` for more information."
msgstr "Zobacz też :func:`format` po więcej informacji."
msgid ""
"Return a Boolean value, i.e. one of ``True`` or ``False``. *x* is converted "
"using the standard :ref:`truth testing procedure <truth>`. If *x* 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:`bltin-boolean-values`)."
msgstr ""
"Zwraca wartość boolowską, ``True`` lub ``False``. *x* jest konwertowane przy "
"użyciu standardowej :ref:`procedury sprawdzania prawdy <truth>`. Jeśli *x* "
"jest fałszywe lub pominięte, funkcja zwraca ``False``; w przeciwnym wypadku "
"funkcja zwraca ``True``. Klasa :class:`bool` jest podklasą :class:`int` "
"(patrz :ref:`typesnumeric`). Nie da się tworzyć jej podklas. Jej jedynymi "
"instancjami są ``False`` i ``True`` (patrz :ref:`bltin-boolean-values`)."
msgid "*x* is now a positional-only parameter."
msgstr "*x* jest teraz parametrem positional-only."
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."
msgstr ""
msgid ""
"Raises an :ref:`auditing event <auditing>` ``builtins.breakpoint`` with "
"argument ``breakpointhook``."
msgstr ""
"Rzuca :ref:`auditing event <auditing>` ``builtins.breakpoint`` z argumentem "
"``breakpointhook``."
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 ""
"Zwraca nową tablicę bajtów. Klasa :class:`bytearray` jest mutowalną "
"sekwencją liczb całkowitych w zakresie 0 <= x < 256. Ma większość metod "
"mutowalnych sekwencji, opisanych w :ref:`typesseq-mutable`, jak również "
"większość metod, które ma typ :class:`bytes`, patrz :ref:`bytes-methods`."
msgid ""
"The optional *source* parameter can be used to initialize the array in a few "
"different ways:"
msgstr ""
"Opcjonalny parametr *source* może być użyty do inicjalizacji tablicy na "
"kilka różnych sposobów:"
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 ""
"Jeśli jest *stringiem*, musisz podać również parametr *encoding* (i "
"opcjonalnie *errors*); :func:`bytearray` konwertuje string na bajty "
"używając :meth:`str.encode`."
msgid ""
"If it is an *integer*, the array will have that size and will be initialized "
"with null bytes."
msgstr ""
"Jeśli jest *liczbą całkowitą*, tablica będzie miała taki rozmiar i będzie "
"zainicjowana bajtami zerowymi."
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 ""
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 ""
"Jeśli jest *iterablem*, musi być iterablem składającym się z liczb "
"całkowitych w zakresie ``0 <= x < 256``, które są użyte do zainicjowania "
"tablicy."
msgid "Without an argument, an array of size 0 is created."
msgstr "Bez argumentu tworzona jest tablica o rozmiarze 0."
msgid "See also :ref:`binaryseq` and :ref:`typebytearray`."
msgstr "Zobacz też :ref:`binaryseq` i :ref:`typebytearray`."
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 ""
"Zwraca nowy obiekt „bytes”, który jest niemutowalną sekwencją liczb "
"całkowitych w zakresie ``0 <= x < 256``. :class:`bytes` jest niemutowalną "
"wersją :class:`bytearray` – ma te same nie-mutujące metody i to samo "
"zachowanie przy odwołaniu do indeksów i slicingu."
msgid ""
"Accordingly, constructor arguments are interpreted as for :func:`bytearray`."
msgstr ""
"Argumenty konstruktora są interpretowane tak jak dla :func:`bytearray`."
msgid "Bytes objects can also be created with literals, see :ref:`strings`."
msgstr ""
"Obiekty bytes mogą być również tworzone z literałami, patrz :ref:`strings`."
msgid "See also :ref:`binaryseq`, :ref:`typebytes`, and :ref:`bytes-methods`."
msgstr "Zobacz też :ref:`binaryseq`, :ref:`typebytes` i :ref:`bytes-methods`."
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:`__call__` method."
msgstr ""
"Zwraca :const:`True` jeśli argument *object* jest wywoływalny; :const:"
"`False` jeśli nie. Jeśli zwraca ``True``, wciąż możliwe jest, że wywołanie "
"się nie powiedzie, ale jeśli jest ``False``, wywołanie *obiektu* nie "
"powiedzie się nigdy. Zwróć uwagę, że klasy są wywoływalne (wywołanie klasy "
"zwraca nową instancję); instancje są wywoływalne, jeśli ich klasy mają "
"metodę :meth:`__call__`."
msgid ""
"This function was first removed in Python 3.0 and then brought back in "
"Python 3.2."
msgstr ""
"Ta funkcja była wpierw usunięta w Pythonie 3.0 a następnie przywrócona w "
"Pythonie 3.2."
msgid ""
"Return the string representing a character whose Unicode code point is the "
"integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while "
"``chr(8364)`` returns the string ``'€'``. This is the inverse of :func:`ord`."
msgstr ""
"Zwraca ciąg znaków reprezentujący znak, którego punktem kodowym Unicode jest "
"liczba całkowita *i*. Na przykład ``chr(97)`` zwraca ciąg znaków ``'a'``, a "
"``chr(8364)`` zwraca ciąg ``'€'``. Jest odwrotnością :func:`ord`."
msgid ""
"The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in "
"base 16). :exc:`ValueError` will be raised if *i* is outside that range."
msgstr ""
"Poprawnym zakresem argumentu są wartości od 0 do 1 114 111 (0x10FFFF w "
"systemie szesnastkowym). Dla *i* poza tym zakresem zostanie rzucony :exc:"
"`ValueError`."
msgid "Transform a method into a class method."
msgstr "Przekształć metodę w metodę klasową."
msgid ""
"A class method receives the class as implicit first argument, just like an "
"instance method receives the instance. To declare a class method, use this "
"idiom::"
msgstr ""
"Metoda klasowa dostaje klasę implicité jako pierwszy argument, tak jak "
"metoda instancji dostaje instancję. Aby zadeklarować metodę klasową, użyj "
"idiomu::"
msgid ""
"The ``@classmethod`` form is a function :term:`decorator` -- see :ref:"
"`function` for details."
msgstr ""
"Forma ``@classmethod`` jest :term:`dekoratorem <decorator>` funkcji – "
"szczegóły znajdziesz w :ref:`function`."
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 ""
"Metoda klasowa może być wywoływana albo na klasie (jak ``C.f()``) albo na "
"instancji (jak ``C().f()``). Instancja jest ignorowana, brana jest pod uwagę "
"tylko jej klasa. Jeśli metoda klasowa jest wywołana dla klasy dziedziczącej, "
"obiekt klasy dziedziczącej jest przekazywany jako pierwszy argument."
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 ""
"Metody klasowe różnią się od statycznych metod C++ lub Javy. Jeśli chcesz "
"takie, sprawdź :func:`staticmethod` w tej sekcji. Więcej informacji o "
"metodach klasowych znajdziesz w :ref:`types`."
msgid ""
"Class methods can now wrap other :term:`descriptors <descriptor>` such as :"
"func:`property`."
msgstr ""
"Metody klasowe mogą teraz opakowywać inne :term:`deskryptory <descriptor>`, "
"takie jak :func:`property`."
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 ""
"Kompiluje *źródło* do obiektu kodu lub AST. Obiekty kodu mogą wyć wykonywane "
"przy użyciu :func:`exec` lub :func:`eval`. *źródło* może być zwykłym ciągiem "
"znaków, ciągiem bajtów lub obiektem AST. W dokumentacji modułu :mod:`ast` "
"znajdziesz informacje o tym jak pracować z obiektami AST."
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 ""
"Argument *filename* powinien dawać plik, z którego kod został przeczytany; "
"przekaż jakąś rozpoznawalną wartość, jeśli nie został przeczytany z pliku "
"(często używa się ``'<string>'``)."
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)."
msgstr ""
"Argument *mode* określa, jaki rodzaj kodu ma zostać skompilowany; może mieć "
"wartość ``'exec'`` jeśli *źródło* składa się z sekwencji instrukcji, "
"``'eval'`` jeśli składa się z jednego wyrażenia lub ``'single'`` jeśli "
"składa się z jednej interaktywnej instrukcji (w ostatnim przypadku, "
"instrukcje wyrażeń, które ewaluują się do czegoś innego niż ``None``, "
"zostaną wydrukowane na standardowe wyjście)."
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 ""
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 ""
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 ""
msgid ""
"This function raises :exc:`SyntaxError` if the compiled source is invalid, "
"and :exc:`ValueError` if the source contains null bytes."
msgstr ""
msgid ""
"If you want to parse Python code into its AST representation, see :func:`ast."
"parse`."
msgstr ""
msgid ""
"Raises an :ref:`auditing event <auditing>` ``compile`` with arguments "
"``source``, ``filename``."
msgstr ""
msgid ""
"Raises an :ref:`auditing event <auditing>` ``compile`` with arguments "
"``source`` and ``filename``. This event may also be raised by implicit "
"compilation."
msgstr ""
msgid ""
"When compiling a string with multi-line code in ``'single'`` or ``'eval'`` "
"mode, input must be terminated by at least one newline character. This is "
"to facilitate detection of incomplete and complete statements in the :mod:"
"`code` module."
msgstr ""
msgid ""
"It is possible to crash the Python interpreter with a sufficiently large/"
"complex string when compiling to an AST object due to stack depth "
"limitations in Python's AST compiler."
msgstr ""
msgid ""
"Allowed use of Windows and Mac newlines. Also input in ``'exec'`` mode does "
"not have to end in a newline anymore. Added the *optimize* parameter."
msgstr ""
msgid ""
"Previously, :exc:`TypeError` was raised when null bytes were encountered in "
"*source*."
msgstr ""
msgid ""
"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable "
"support for top-level ``await``, ``async for``, and ``async with``."
msgstr ""
msgid ""
"Return a complex number with the value *real* + *imag*\\*1j or convert a "
"string or number to a complex number. If the first parameter is a string, "
"it will be interpreted as a complex number and the function must be called "
"without a second parameter. The second parameter can never be a string. "
"Each argument may be any numeric type (including complex). If *imag* is "
"omitted, it defaults to zero and the constructor serves as a numeric "
"conversion like :class:`int` and :class:`float`. If both arguments are "
"omitted, returns ``0j``."
msgstr ""
msgid ""
"For a general Python object ``x``, ``complex(x)`` delegates to ``x."
"__complex__()``. If ``__complex__()`` is not defined then it falls back to :"
"meth:`__float__`. If ``__float__()`` is not defined then it falls back to :"
"meth:`__index__`."
msgstr ""
msgid ""
"When converting from a string, the string must not contain whitespace around "
"the central ``+`` or ``-`` operator. For example, ``complex('1+2j')`` is "
"fine, but ``complex('1 + 2j')`` raises :exc:`ValueError`."
msgstr ""
msgid "The complex type is described in :ref:`typesnumeric`."
msgstr ""
msgid "Grouping digits with underscores as in code literals is allowed."
msgstr ""
msgid ""
"Falls back to :meth:`__index__` if :meth:`__complex__` and :meth:`__float__` "
"are not defined."
msgstr ""
msgid ""
"This is a relative of :func:`setattr`. The arguments are an object and a "
"string. The string must be the name of one of the object's attributes. The "
"function deletes the named attribute, provided the object allows it. For "
"example, ``delattr(x, 'foobar')`` is equivalent to ``del x.foobar``."
msgstr ""
msgid ""
"Create a new dictionary. The :class:`dict` object is the dictionary class. "
"See :class:`dict` and :ref:`typesmapping` for documentation about this class."
msgstr ""
msgid ""
"For other containers see the built-in :class:`list`, :class:`set`, and :"
"class:`tuple` classes, as well as the :mod:`collections` module."
msgstr ""
msgid ""
"Without arguments, return the list of names in the current local scope. "
"With an argument, attempt to return a list of valid attributes for that "
"object."
msgstr ""
msgid ""
"If the object has a method named :meth:`__dir__`, this method will be called "
"and must return the list of attributes. This allows objects that implement a "
"custom :func:`__getattr__` or :func:`__getattribute__` function to customize "
"the way :func:`dir` reports their attributes."
msgstr ""
msgid ""
"If the object does not provide :meth:`__dir__`, the function tries its best "
"to gather information from the object's :attr:`~object.__dict__` attribute, "
"if defined, and from its type object. The resulting list is not necessarily "
"complete, and may be inaccurate when the object has a custom :func:"
"`__getattr__`."
msgstr ""
msgid ""
"The default :func:`dir` mechanism behaves differently with different types "
"of objects, as it attempts to produce the most relevant, rather than "
"complete, information:"
msgstr ""
msgid ""
"If the object is a module object, the list contains the names of the "
"module's attributes."
msgstr ""
msgid ""
"If the object is a type or class object, the list contains the names of its "
"attributes, and recursively of the attributes of its bases."
msgstr ""
msgid ""
"Otherwise, the list contains the object's attributes' names, the names of "
"its class's attributes, and recursively of the attributes of its class's "
"base classes."
msgstr ""
msgid "The resulting list is sorted alphabetically. For example:"
msgstr ""
msgid ""
"Because :func:`dir` is supplied primarily as a convenience for use at an "
"interactive prompt, it tries to supply an interesting set of names more than "
"it tries to supply a rigorously or consistently defined set of names, and "
"its detailed behavior may change across releases. For example, metaclass "
"attributes are not in the result list when the argument is a class."
msgstr ""
msgid ""
"Take two (non complex) numbers as arguments and return a pair of numbers "
"consisting of their quotient and remainder when using integer division. "
"With mixed operand types, the rules for binary arithmetic operators apply. "
"For integers, the result is the same as ``(a // b, a % b)``. For floating "
"point numbers the result is ``(q, a % b)``, where *q* is usually ``math."
"floor(a / b)`` but may be 1 less than that. In any case ``q * b + a % b`` "
"is very close to *a*, if ``a % b`` is non-zero it has the same sign as *b*, "
"and ``0 <= abs(a % b) < abs(b)``."
msgstr ""
msgid ""
"Return an enumerate object. *iterable* must be a sequence, an :term:"
"`iterator`, or some other object which supports iteration. The :meth:"
"`~iterator.__next__` method of the iterator returned by :func:`enumerate` "
"returns a tuple containing a count (from *start* which defaults to 0) and "
"the values obtained from iterating over *iterable*."
msgstr ""
msgid "Equivalent to::"
msgstr ""
msgid ""
"The arguments are a string and optional globals and locals. If provided, "
"*globals* must be a dictionary. If provided, *locals* can be any mapping "
"object."
msgstr ""
msgid ""
"The *expression* argument is parsed and evaluated as a Python expression "
"(technically speaking, a condition list) using the *globals* and *locals* "
"dictionaries as global and local namespace. If the *globals* dictionary is "
"present and does not contain a value for the key ``__builtins__``, a "
"reference to the dictionary of the built-in module :mod:`builtins` is "
"inserted under that key before *expression* is parsed. This means that "
"*expression* normally has full access to the standard :mod:`builtins` module "
"and restricted environments are propagated. If the *locals* dictionary is "
"omitted it defaults to the *globals* dictionary. If both dictionaries are "
"omitted, the expression is executed with the *globals* and *locals* in the "
"environment where :func:`eval` is called. Note, *eval()* does not have "
"access to the :term:`nested scopes <nested scope>` (non-locals) in the "
"enclosing environment."
msgstr ""
msgid ""
"The return value is the result of the evaluated expression. Syntax errors "
"are reported as exceptions. Example:"
msgstr ""
msgid ""
"This function can also be used to execute arbitrary code objects (such as "
"those created by :func:`compile`). In this case pass a code object instead "
"of a string. If the code object has been compiled with ``'exec'`` as the "
"*mode* argument, :func:`eval`\\'s return value will be ``None``."
msgstr ""
msgid ""
"Hints: dynamic execution of statements is supported by the :func:`exec` "
"function. The :func:`globals` and :func:`locals` functions returns the "
"current global and local dictionary, respectively, which may be useful to "
"pass around for use by :func:`eval` or :func:`exec`."
msgstr ""
msgid ""
"See :func:`ast.literal_eval` for a function that can safely evaluate strings "
"with expressions containing only literals."
msgstr ""
msgid ""
"Raises an :ref:`auditing event <auditing>` ``exec`` with argument "
"``code_object``."
msgstr ""
msgid ""
"Raises an :ref:`auditing event <auditing>` ``exec`` with the code object as "
"the argument. Code compilation events may also be raised."
msgstr ""
msgid ""
"This function supports dynamic execution of Python code. *object* must be "
"either a string or a code object. If it is a string, the string is parsed "
"as a suite of Python statements which is then executed (unless a syntax "
"error occurs). [#]_ If it is a code object, it is simply executed. In all "
"cases, the code that's executed is expected to be valid as file input (see "
"the section \"File input\" in the Reference Manual). Be aware that the :"
"keyword:`nonlocal`, :keyword:`yield`, and :keyword:`return` statements may "
"not be used outside of function definitions even within the context of code "
"passed to the :func:`exec` function. The return value is ``None``."
msgstr ""
msgid ""
"In all cases, if the optional parts are omitted, the code is executed in the "
"current scope. If only *globals* is provided, it must be a dictionary (and "
"not a subclass of dictionary), which will be used for both the global and "
"the local variables. If *globals* and *locals* are given, they are used for "
"the global and local variables, respectively. If provided, *locals* can be "
"any mapping object. Remember that at module level, globals and locals are "
"the same dictionary. If exec gets two separate objects as *globals* and "
"*locals*, the code will be executed as if it were embedded in a class "
"definition."
msgstr ""
msgid ""
"If the *globals* dictionary does not contain a value for the key "
"``__builtins__``, a reference to the dictionary of the built-in module :mod:"
"`builtins` is inserted under that key. That way you can control what "
"builtins are available to the executed code by inserting your own "
"``__builtins__`` dictionary into *globals* before passing it to :func:`exec`."
msgstr ""
msgid ""
"The built-in functions :func:`globals` and :func:`locals` return the current "
"global and local dictionary, respectively, which may be useful to pass "
"around for use as the second and third argument to :func:`exec`."
msgstr ""
msgid ""
"The default *locals* act as described for function :func:`locals` below: "
"modifications to the default *locals* dictionary should not be attempted. "
"Pass an explicit *locals* dictionary if you need to see effects of the code "
"on *locals* after function :func:`exec` returns."
msgstr ""
msgid ""
"Construct an iterator from those elements of *iterable* for which *function* "
"returns true. *iterable* may be either a sequence, a container which "
"supports iteration, or an iterator. If *function* is ``None``, the identity "
"function is assumed, that is, all elements of *iterable* that are false are "
"removed."
msgstr ""
msgid ""
"Note that ``filter(function, iterable)`` is equivalent to the generator "
"expression ``(item for item in iterable if function(item))`` if function is "
"not ``None`` and ``(item for item in iterable if item)`` if function is "
"``None``."
msgstr ""
msgid ""
"See :func:`itertools.filterfalse` for the complementary function that "
"returns elements of *iterable* for which *function* returns false."
msgstr ""
msgid "Return a floating point number constructed from a number or string *x*."
msgstr ""
msgid ""
"If the argument is a string, it should contain a decimal number, optionally "
"preceded by a sign, and optionally embedded in whitespace. The optional "
"sign may be ``'+'`` or ``'-'``; a ``'+'`` sign has no effect on the value "
"produced. The argument may also be a string representing a NaN (not-a-"
"number), or a positive or negative infinity. More precisely, the input must "
"conform to the following grammar after leading and trailing whitespace "
"characters are removed:"
msgstr ""
msgid ""
"Here ``floatnumber`` is the form of a Python floating-point literal, "
"described in :ref:`floating`. Case is not significant, so, for example, "
"\"inf\", \"Inf\", \"INFINITY\" and \"iNfINity\" are all acceptable spellings "
"for positive infinity."
msgstr ""
msgid ""
"Otherwise, if the argument is an integer or a floating point number, a "
"floating point number with the same value (within Python's floating point "
"precision) is returned. If the argument is outside the range of a Python "
"float, an :exc:`OverflowError` will be raised."
msgstr ""
msgid ""
"For a general Python object ``x``, ``float(x)`` delegates to ``x."
"__float__()``. If ``__float__()`` is not defined then it falls back to :"
"meth:`__index__`."
msgstr ""
msgid "If no argument is given, ``0.0`` is returned."
msgstr ""
msgid "Examples::"
msgstr ""
msgid "The float type is described in :ref:`typesnumeric`."
msgstr ""
msgid "Falls back to :meth:`__index__` if :meth:`__float__` is not defined."
msgstr ""
msgid ""
"Convert a *value* to a \"formatted\" representation, as controlled by "
"*format_spec*. The interpretation of *format_spec* will depend on the type "
"of the *value* argument, however there is a standard formatting syntax that "
"is used by most built-in types: :ref:`formatspec`."
msgstr ""
msgid ""
"The default *format_spec* is an empty string which usually gives the same "
"effect as calling :func:`str(value) <str>`."
msgstr ""
msgid ""
"A call to ``format(value, format_spec)`` is translated to ``type(value)."
"__format__(value, format_spec)`` which bypasses the instance dictionary when "
"searching for the value's :meth:`__format__` method. A :exc:`TypeError` "
"exception is raised if the method search reaches :mod:`object` and the "
"*format_spec* is non-empty, or if either the *format_spec* or the return "
"value are not strings."
msgstr ""
msgid ""
"``object().__format__(format_spec)`` raises :exc:`TypeError` if "
"*format_spec* is not an empty string."
msgstr ""
msgid ""
"Return a new :class:`frozenset` object, optionally with elements taken from "
"*iterable*. ``frozenset`` is a built-in class. See :class:`frozenset` and :"
"ref:`types-set` for documentation about this class."
msgstr ""
msgid ""
"For other containers see the built-in :class:`set`, :class:`list`, :class:"
"`tuple`, and :class:`dict` classes, as well as the :mod:`collections` module."
msgstr ""
msgid ""
"Return the value of the named attribute of *object*. *name* must be a "
"string. If the string is the name of one of the object's attributes, the "
"result is the value of that attribute. For example, ``getattr(x, "
"'foobar')`` is equivalent to ``x.foobar``. If the named attribute does not "
"exist, *default* is returned if provided, otherwise :exc:`AttributeError` is "
"raised."
msgstr ""
msgid ""
"Since :ref:`private name mangling <private-name-mangling>` happens at "
"compilation time, one must manually mangle a private attribute's (attributes "
"with two leading underscores) name in order to retrieve it with :func:"
"`getattr`."
msgstr ""
msgid ""
"Return a dictionary representing the current global symbol table. This is "
"always the dictionary of the current module (inside a function or method, "
"this is the module where it is defined, not the module from which it is "
"called)."
msgstr ""
msgid ""
"The arguments are an object and a string. The result is ``True`` if the "
"string is the name of one of the object's attributes, ``False`` if not. "
"(This is implemented by calling ``getattr(object, name)`` and seeing whether "
"it raises an :exc:`AttributeError` or not.)"
msgstr ""
msgid ""
"Return the hash value of the object (if it has one). Hash values are "
"integers. They are used to quickly compare dictionary keys during a "
"dictionary lookup. Numeric values that compare equal have the same hash "
"value (even if they are of different types, as is the case for 1 and 1.0)."
msgstr ""
msgid ""
"For objects with custom :meth:`__hash__` methods, note that :func:`hash` "
"truncates the return value based on the bit width of the host machine. See :"
"meth:`__hash__` for details."
msgstr ""
msgid ""
"Invoke the built-in help system. (This function is intended for interactive "
"use.) If no argument is given, the interactive help system starts on the "
"interpreter console. If the argument is a string, then the string is looked "
"up as the name of a module, function, class, method, keyword, or "
"documentation topic, and a help page is printed on the console. If the "
"argument is any other kind of object, a help page on the object is generated."
msgstr ""
msgid ""
"Note that if a slash(/) appears in the parameter list of a function, when "
"invoking :func:`help`, it means that the parameters prior to the slash are "
"positional-only. For more info, see :ref:`the FAQ entry on positional-only "
"parameters <faq-positional-only-arguments>`."
msgstr ""
msgid ""
"This function is added to the built-in namespace by the :mod:`site` module."
msgstr ""