File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Polskie tłumaczenie dokumentacji Pythona
22========================================
33![ build] ( https://github.com/python/python-docs-pl/workflows/.github/workflows/update-and-build.yml/badge.svg )
4- ![ 33.09 % przełącznika języków] ( https://img.shields.io/badge/przełącznik_języków-33.09 %25-0.svg )
4+ ![ 33.32 % przełącznika języków] ( https://img.shields.io/badge/przełącznik_języków-33.32 %25-0.svg )
55![ postęp tłumaczenia całości dokumentacji] ( https://img.shields.io/badge/dynamic/json.svg?label=całość&query=$.pl&url=http://gce.zhsj.me/python/newest )
66![ 8 tłumaczy] ( https://img.shields.io/badge/tłumaczy-8-0.svg )
77
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ msgstr ""
164164"stosu, użyj :meth:`pop` bez podanego indeksu. Na przykład::"
165165
166166msgid "Using Lists as Queues"
167- msgstr ""
167+ msgstr "Używanie list jako kolejek "
168168
169169msgid ""
170170"It is also possible to use a list as a queue, where the first element added "
@@ -173,11 +173,18 @@ msgid ""
173173"are fast, doing inserts or pops from the beginning of a list is slow "
174174"(because all of the other elements have to be shifted by one)."
175175msgstr ""
176+ "Można też używać list jako kolejek, gdzie pierwszy element dodany jest "
177+ "pierwszym elementem pobieranym („first-in, first-out”); jednakże listy nie "
178+ "są wydajne do tego celu. Appendy i popy na końcu listy są szybkie, lecz "
179+ "inserty i popy na początku listy są wolne (ponieważ wszystkie inne elementy "
180+ "muszą zostać przesunięte o jeden)."
176181
177182msgid ""
178183"To implement a queue, use :class:`collections.deque` which was designed to "
179184"have fast appends and pops from both ends. For example::"
180185msgstr ""
186+ "Aby zaimplementować kolejkę, użyj :class:`collections.deque`, która została "
187+ "zaprojektowana, by mieć szybkie appendy i popy na obu końcach. Na przykład::"
181188
182189msgid "List Comprehensions"
183190msgstr ""
You can’t perform that action at this time.
0 commit comments