Skip to content

Commit 5b6ecfe

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent e78719a commit 5b6ecfe

File tree

3 files changed

+69
-4
lines changed

3 files changed

+69
-4
lines changed

README.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ f'''![build](https://github.com/python/python-docs-pl/workflows/.github/workflow
1515
![{translators} Translators](https://img.shields.io/badge/Translators-{translators}-0.svg)''')
1616
]]] -->
1717
![build](https://github.com/python/python-docs-pl/workflows/.github/workflows/update-lint-and-build.yml/badge.svg)
18-
![98.20% Language Switcher](https://img.shields.io/badge/language_switcher-98.20%25-0.svg)
19-
![Total Translation of Documentation](https://img.shields.io/badge/Total-4.35%25-0.svg)
18+
![99.37% Language Switcher](https://img.shields.io/badge/language_switcher-99.37%25-0.svg)
19+
![Total Translation of Documentation](https://img.shields.io/badge/Total-4.39%25-0.svg)
2020
![24 Translators](https://img.shields.io/badge/Translators-24-0.svg)
2121
<!-- [[[end]]] -->
2222

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ f'''![build](https://github.com/python/python-docs-pl/workflows/.github/workflow
1515
![{translators} tłumaczy](https://img.shields.io/badge/tłumaczy-{translators}-0.svg)''')
1616
]]] -->
1717
![build](https://github.com/python/python-docs-pl/workflows/.github/workflows/update-lint-and-build.yml/badge.svg)
18-
![98.20% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-98.20%25-0.svg)
19-
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-4.35%25-0.svg)
18+
![99.37% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-99.37%25-0.svg)
19+
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-4.39%25-0.svg)
2020
![24 tłumaczy](https://img.shields.io/badge/tłumaczy-24-0.svg)
2121
<!-- [[[end]]] -->
2222

library/functions.po

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3599,6 +3599,10 @@ msgid ""
35993599
"their :attr:`!__dict__` attributes (for example, classes use a :class:`types."
36003600
"MappingProxyType` to prevent direct dictionary updates)."
36013601
msgstr ""
3602+
"Obiekty takie jak moduł i instancje mają możliwość aktualizacji :attr:"
3603+
"`~object.__dict__` atrybut; jednak inne obiekty mogą mieć ograniczenia "
3604+
"zapisu na ich :attr:`!__dict__` atrybut (na przykład klasy używają :class:"
3605+
"`types.MappingProxyType`, aby zapobiec bezpośrednim aktualizacjom słownika)."
36023606

36033607
msgid "Without an argument, :func:`vars` acts like :func:`locals`."
36043608
msgstr "Bez argumenta, :func:`vars` działa jak :func:`locals`."
@@ -3608,6 +3612,9 @@ msgid ""
36083612
"doesn't have a :attr:`~object.__dict__` attribute (for example, if its class "
36093613
"defines the :attr:`~object.__slots__` attribute)."
36103614
msgstr ""
3615+
"Wyjątek :exc:`TypeError` jest rzucony, jeśli obiekt jest określony, ale nie "
3616+
"ma :attr:`~object.__dict__` atrybut (na przykład, jeśli jego klasa "
3617+
"definiuje :attr:`~object.__slots__` atrybut )."
36113618

36123619
msgid ""
36133620
"The result of calling this function without an argument has been updated as "
@@ -3645,31 +3652,46 @@ msgid ""
36453652
"More formally: :func:`zip` returns an iterator of tuples, where the *i*-th "
36463653
"tuple contains the *i*-th element from each of the argument iterables."
36473654
msgstr ""
3655+
"Bardziej formalnie: :func:`zip` zwraca i iterator z krotka, gdzie *i*-ty "
3656+
"krotka zawiera *i*-ty element z każdego z argument iterable ."
36483657

36493658
msgid ""
36503659
"Another way to think of :func:`zip` is that it turns rows into columns, and "
36513660
"columns into rows. This is similar to `transposing a matrix <https://en."
36523661
"wikipedia.org/wiki/Transpose>`_."
36533662
msgstr ""
3663+
"Innym sposobem myślenia o :func:`zip` jest to, że zamienia wiersze w "
3664+
"kolumny, a kolumny w wiersze. Jest to podobne do `przekształcania macierzy "
3665+
"<https://en.wikipedia.org/wiki/Transpose>`_."
36543666

36553667
msgid ""
36563668
":func:`zip` is lazy: The elements won't be processed until the iterable is "
36573669
"iterated on, e.g. by a :keyword:`!for` loop or by wrapping in a :class:"
36583670
"`list`."
36593671
msgstr ""
3672+
":func:`zip` jest leniwy: Elementy nie będą przetwarzane, dopóki iterable nie "
3673+
"zostanie poddany iteracji, np. przez pętlę :keyword:`!for` lub przez "
3674+
"zawinięcie w :class:`list`."
36603675

36613676
msgid ""
36623677
"One thing to consider is that the iterables passed to :func:`zip` could have "
36633678
"different lengths; sometimes by design, and sometimes because of a bug in "
36643679
"the code that prepared these iterables. Python offers three different "
36653680
"approaches to dealing with this issue:"
36663681
msgstr ""
3682+
"Jedną rzeczą, którą należy wziąć pod uwagę, jest to, że iterable "
3683+
"przekazywane do :func:`zip` mogą mieć różne długości; czasami z założenia, a "
3684+
"czasami z powodu błędu w kodzie, który przygotował te iterable. Python "
3685+
"oferuje trzy różne podejścia do radzenia sobie z tym problemem:"
36673686

36683687
msgid ""
36693688
"By default, :func:`zip` stops when the shortest iterable is exhausted. It "
36703689
"will ignore the remaining items in the longer iterables, cutting off the "
36713690
"result to the length of the shortest iterable::"
36723691
msgstr ""
3692+
"Przez domyślny, :func:`zip` zatrzymuje się, gdy najkrótszy iterable jest "
3693+
"wyczerpany. Zignoruje pozostałe elementy w dłuższym iterable, obcinając "
3694+
"wynik do długości najkrótszego iterable::"
36733695

36743696
msgid ""
36753697
">>> list(zip(range(3), ['fee', 'fi', 'fo', 'fum']))\n"
@@ -3683,6 +3705,9 @@ msgid ""
36833705
"equal length. In such cases, it's recommended to use the ``strict=True`` "
36843706
"option. Its output is the same as regular :func:`zip`::"
36853707
msgstr ""
3708+
":func:`zip` jest często używana w przypadkach, gdy zakłada się, że iterable "
3709+
"są równej długości. W takich przypadkach zaleca się użycie opcji "
3710+
"``strict=True``. Jej wynik jest taki sam jak zwykłego :func:`zip`::"
36863711

36873712
msgid ""
36883713
">>> list(zip(('a', 'b', 'c'), (1, 2, 3), strict=True))\n"
@@ -3703,17 +3728,25 @@ msgid ""
37033728
"different lengths will be silenced, possibly manifesting as a hard-to-find "
37043729
"bug in another part of the program."
37053730
msgstr ""
3731+
"Bez ``strict=True`` argumentu, każdy błąd, który skutkuje iterable o różnych "
3732+
"długościach zostanie wyciszony, prawdopodobnie objawiając się jako trudny do "
3733+
"znalezienia błąd w innej części programu."
37063734

37073735
msgid ""
37083736
"Shorter iterables can be padded with a constant value to make all the "
37093737
"iterables have the same length. This is done by :func:`itertools."
37103738
"zip_longest`."
37113739
msgstr ""
3740+
"Krótsze iterable mogą być uzupełnione stałą wartością, aby wszystkie "
3741+
"iterable miały taką samą długość. Odbywa się to poprzez :func:`itertools."
3742+
"zip_longest`."
37123743

37133744
msgid ""
37143745
"Edge cases: With a single iterable argument, :func:`zip` returns an iterator "
37153746
"of 1-tuples. With no arguments, it returns an empty iterator."
37163747
msgstr ""
3748+
"Przypadki brzegowe: Z pojedynczym iterable argument, :func:`zip` zwraca "
3749+
"iterator z 1-krotka. Bez argumentu, to zwraca pusty iterator."
37173750

37183751
msgid "Tips and tricks:"
37193752
msgstr "Wskazówki i porady:"
@@ -3725,6 +3758,11 @@ msgid ""
37253758
"``n`` times so that each output tuple has the result of ``n`` calls to the "
37263759
"iterator. This has the effect of dividing the input into n-length chunks."
37273760
msgstr ""
3761+
"Kolejność oceny od lewej do prawej strony iterable jest gwarantowana. "
3762+
"Umożliwia to idiom grupowania serii danych w grupy o długości n przy użyciu "
3763+
"``zip(*[iter(s)]*n, strict=True)``. Powtarza to *tę samą* iterator ``n`` "
3764+
"razy, tak że każde wyjście krotka ma wynik wywołań ``n`` do iteratora. "
3765+
"Powoduje to podzielenie danych wejściowych na fragmenty o długości n."
37283766

37293767
msgid ""
37303768
":func:`zip` in conjunction with the ``*`` operator can be used to unzip a "
@@ -3770,6 +3808,14 @@ msgid ""
37703808
"implementation is in use. Direct use of :func:`__import__` is also "
37713809
"discouraged in favor of :func:`importlib.import_module`."
37723810
msgstr ""
3811+
"Ten funkcja jest wywoływany przez :keyword:`import` instrukcja . Można go "
3812+
"zastąpić (importując :mod:`builtins` moduł i przypisując do ``builtins."
3813+
"__import__``) w celu zmiany semantyki :keyword:`!import` instrukcja , ale "
3814+
"jest to **bardżo** odradzane, ponieważ zwykle prostsze jest użycie haków "
3815+
"importu (zobacz :pep:`302`), aby osiągnąć te same cele i nie powoduje "
3816+
"problemów z kodem, który zakłada, że implementacja importu domyślny jest w "
3817+
"użyciu. Bezpośrednie użycie :func:`__import__` jest również odradzane na "
3818+
"korzyść :func:`importlib.import_module`."
37733819

37743820
msgid ""
37753821
"The function imports the module *name*, potentially using the given "
@@ -3779,6 +3825,12 @@ msgid ""
37793825
"does not use its *locals* argument at all and uses its *globals* only to "
37803826
"determine the package context of the :keyword:`import` statement."
37813827
msgstr ""
3828+
"Funkcja importuje moduł *name*, potencjalnie używając podanych *globals* i "
3829+
"*locals* do określenia, jak interpretować nazwę w kontekście pakietu. "
3830+
"*fromlist* podaje nazwy obiektów lub submodułów, które powinny zostać "
3831+
"zaimportowane z moduł podanego przez *name*. Standardowa implementacja nie "
3832+
"używa *locals* argumentu w ogóle i używa *globals* tylko do określenia "
3833+
"kontekstu pakietu :keyword:`import` instrukcja ."
37823834

37833835
msgid ""
37843836
"*level* specifies whether to use absolute or relative imports. ``0`` (the "
@@ -3787,13 +3839,21 @@ msgid ""
37873839
"directory of the module calling :func:`__import__` (see :pep:`328` for the "
37883840
"details)."
37893841
msgstr ""
3842+
"*level* określa, czy ma być używany import bezwzględny czy względny. ``0`` "
3843+
"(domyślnie) oznacza tylko import bezwzględny. Dodatnie wartości dla *level* "
3844+
"wskazują liczbę katalogów nadrzędnych do przeszukania względem katalogu "
3845+
"moduł wywołującego :func:`__import__` (zobacz :pep:`328` dla szczegółów)."
37903846

37913847
msgid ""
37923848
"When the *name* variable is of the form ``package.module``, normally, the "
37933849
"top-level package (the name up till the first dot) is returned, *not* the "
37943850
"module named by *name*. However, when a non-empty *fromlist* argument is "
37953851
"given, the module named by *name* is returned."
37963852
msgstr ""
3853+
"Gdy zmienna *name* ma postać ``package.module``, zwykle zwracany jest pakiet "
3854+
"najwyższego poziomu (nazwa do pierwszej kropki), *nie* moduł nazwany przez "
3855+
"*name*. Jednakże, gdy podana jest niepusta *fromlist* argument, zwracany "
3856+
"jest moduł nazwany przez *name*."
37973857

37983858
msgid ""
37993859
"For example, the statement ``import spam`` results in bytecode resembling "
@@ -3815,6 +3875,8 @@ msgid ""
38153875
"Note how :func:`__import__` returns the toplevel module here because this is "
38163876
"the object that is bound to a name by the :keyword:`import` statement."
38173877
msgstr ""
3878+
"Zauważ, że :func:`__import__` zwraca toplevel moduł tutaj, ponieważ jest to "
3879+
"obiekt, który jest powiązany z nazwą przez :keyword:`import` instrukcje ."
38183880

38193881
msgid ""
38203882
"On the other hand, the statement ``from spam.ham import eggs, sausage as "
@@ -3838,6 +3900,9 @@ msgid ""
38383900
"this object, the names to import are retrieved and assigned to their "
38393901
"respective names."
38403902
msgstr ""
3903+
"Tutaj obiekt ``spam.ham`` jest zwracany z :func:`__import__`. Z tego "
3904+
"obiektu pobierane są nazwy do zaimportowania i przypisywane do odpowiednich "
3905+
"nazw."
38413906

38423907
msgid ""
38433908
"If you simply want to import a module (potentially within a package) by "

0 commit comments

Comments
 (0)