Skip to content

Commit 87a93ea

Browse files
GitHub Action's update-translation jobm-aciek
andcommitted
Update translation from Transifex
Co-Authored-By: Maciej Olko <maciej.olko@gmail.com>
1 parent d158445 commit 87a93ea

3 files changed

Lines changed: 71 additions & 7 deletions

File tree

README.en.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-
1414
[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-{total_strings:.2f}%25-0.svg)](https://translations.python.org/#pl)''')
1515
]]] -->
1616
[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml)
17-
[![core 98.15%](https://img.shields.io/badge/core-98.15%25-0.svg)](https://translations.python.org/#pl)
18-
[![Total Translation of Documentation](https://img.shields.io/badge/total_words-5.66%25-0.svg)](https://translations.python.org/#pl)
19-
[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-12.56%25-0.svg)](https://translations.python.org/#pl)
17+
[![core 98.99%](https://img.shields.io/badge/core-98.99%25-0.svg)](https://translations.python.org/#pl)
18+
[![Total Translation of Documentation](https://img.shields.io/badge/total_words-5.69%25-0.svg)](https://translations.python.org/#pl)
19+
[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-12.57%25-0.svg)](https://translations.python.org/#pl)
2020
<!-- [[[end]]] -->
2121

2222
*Przeczytaj to w innym języku: [polski](README.md)*

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-
1414
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-{total_strings:.2f}%25-0.svg)](https://translations.python.org/#pl)''')
1515
]]] -->
1616
[![build](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml)
17-
[![podstawowe artykuły 98.15%](https://img.shields.io/badge/podstawowe_artykuły-98.15%25-0.svg)](https://translations.python.org/#pl)
18-
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_słów-5.66%25-0.svg)](https://translations.python.org/#pl)
19-
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-12.56%25-0.svg)](https://translations.python.org/#pl)
17+
[![podstawowe artykuły 98.99%](https://img.shields.io/badge/podstawowe_artykuły-98.99%25-0.svg)](https://translations.python.org/#pl)
18+
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_słów-5.69%25-0.svg)](https://translations.python.org/#pl)
19+
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-12.57%25-0.svg)](https://translations.python.org/#pl)
2020
<!-- [[[end]]] -->
2121

2222
*Read this in another language: [English](README.en.md)*

tutorial/datastructures.po

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.15\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-05-27 16:58+0000\n"
16+
"POT-Creation-Date: 2026-06-02 00:16+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:02+0000\n"
1818
"Last-Translator: Maciej Olko <maciej.olko@gmail.com>, 2026\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -617,6 +617,9 @@ msgid ""
617617
"iterable object; trying to unpack a non-iterable object will raise an "
618618
"exception::"
619619
msgstr ""
620+
"Działa to tylko wtedy, gdy wyrażenie następujące po ``*`` ma wartość "
621+
"iterable; próba rozpakowania obiektu innego niż iterable spowoduje rzucenie "
622+
"wyjątku::"
620623

621624
msgid ""
622625
">>> x = 1\n"
@@ -626,33 +629,52 @@ msgid ""
626629
" [0, *x, 2, 3, 4]\n"
627630
"TypeError: Value after * must be an iterable, not int"
628631
msgstr ""
632+
">>> x = 1\n"
633+
">>> [0, *x, 2, 3, 4]\n"
634+
"Traceback (most recent call last):\n"
635+
" File \"<python-input-1>\", line 1, in <module>\n"
636+
" [0, *x, 2, 3, 4]\n"
637+
"TypeError: Value after * must be an iterable, not int"
629638

630639
msgid ""
631640
"Unpacking can also be used in list comprehensions, as a way to build a new "
632641
"list representing the concatenation of an arbitrary number of iterables::"
633642
msgstr ""
643+
"Rozpakowywanie może być również używane w list comprehensions, jako sposób "
644+
"na zbudowanie nowej listy reprezentującej łączenie dowolnej liczby "
645+
"iterable'i::"
634646

635647
msgid ""
636648
">>> x = [[1, 2, 3], [4, 5, 6], [], [7], [8, 9]]\n"
637649
">>> [*element for element in x]\n"
638650
"[1, 2, 3, 4, 5, 6, 7, 8, 9]"
639651
msgstr ""
652+
">>> x = [[1, 2, 3], [4, 5, 6], [], [7], [8, 9]]\n"
653+
">>> [*element for element in x]\n"
654+
"[1, 2, 3, 4, 5, 6, 7, 8, 9]"
640655

641656
msgid ""
642657
"Note that the effect is that each element from ``x`` is unpacked. This "
643658
"works for arbitrary iterable objects, not just lists::"
644659
msgstr ""
660+
"Należy zauważyć, że w efekcie każdy element z ``x`` jest rozpakowywany. "
661+
"Działa to dla dowolnych obiektów iterable, nie tylko list::"
645662

646663
msgid ""
647664
">>> x = [[1, 2, 3], 'cat', {'spam': 'eggs'}]\n"
648665
">>> [*element for element in x]\n"
649666
"[1, 2, 3, 'c', 'a', 't', 'spam']"
650667
msgstr ""
668+
">>> x = [[1, 2, 3], 'kot', {'mielonka': 'jajka'}]\n"
669+
">>> [*element for element in x]\n"
670+
"[1, 2, 3, 'k', 'o', 't', 'mielonka']"
651671

652672
msgid ""
653673
"But if the objects in ``x`` are not iterable, this expression would again "
654674
"raise an exception."
655675
msgstr ""
676+
"Ale jeśli obiekty w ``x`` nie są iterowalne, to wyrażenie ponownie rzuciłoby "
677+
"wyjątek."
656678

657679
msgid "The :keyword:`!del` statement"
658680
msgstr "Instrukcja :keyword:`!del`"
@@ -752,6 +774,28 @@ msgid ""
752774
">>> 0, *x, 4\n"
753775
"(0, 1, 2, 3, 4)"
754776
msgstr ""
777+
">>> t = 12345, 54321, 'dzień dobry!'\n"
778+
">>> t[0]\n"
779+
"12345\n"
780+
">>> t\n"
781+
"(12345, 54321, 'dzień dobry!')\n"
782+
">>> # krotki mogą być zagnieżdżane:\n"
783+
">>> u = t, (1, 2, 3, 4, 5)\n"
784+
">>> u\n"
785+
"((12345, 54321, 'dzień dobry!'), (1, 2, 3, 4, 5))\n"
786+
">>> # krotki są niemutowalne\n"
787+
">>> t[0] = 88888\n"
788+
"Traceback (most recent call last):\n"
789+
" File \"<stdin>\", line 1, in <module>\n"
790+
"TypeError: 'tuple' object does not support item assignment\n"
791+
">>> # ale mogą zawierać mutowalne obiekty:\n"
792+
">>> v = ([1, 2, 3], [3, 2, 1])\n"
793+
">>> v\n"
794+
"([1, 2, 3], [3, 2, 1])\n"
795+
">>> # obsługują unpacking jak listy:\n"
796+
">>> x = [1, 2, 3]\n"
797+
">>> 0, *x, 4\n"
798+
"(0, 1, 2, 3, 4)"
755799

756800
msgid ""
757801
"As you see, on output tuples are always enclosed in parentheses, so that "
@@ -932,6 +976,9 @@ msgid ""
932976
"Similarly to :ref:`list comprehensions <tut-listcomps>`, set comprehensions "
933977
"are also supported, including comprehensions with unpacking::"
934978
msgstr ""
979+
"Podobnie jak w przypadku :ref:`list comprehensions <tut-listcomps>`, "
980+
"obsługiwane są również set comprehensions, w tym comprehensions z "
981+
"rozpakowywaniem::"
935982

936983
msgid ""
937984
">>> a = {x for x in 'abracadabra' if x not in 'abc'}\n"
@@ -942,6 +989,13 @@ msgid ""
942989
">>> {*fruit for fruit in fruits}\n"
943990
"{'blueberry', 'banana', 'avocado', 'apple', 'apricot'}"
944991
msgstr ""
992+
">>> a = {x for x in 'abrakadabra' if x not in 'abc'}\n"
993+
">>> a\n"
994+
"{'k', 'r', 'd'}\n"
995+
"\n"
996+
">>> fruits = [{'arbuz', 'ananas', 'agrest'}, {'banan', 'borówka'}]\n"
997+
">>> {*fruit for fruit in fruits}\n"
998+
"{'borówka', 'agrest, 'ananas', 'arbuz', 'banan'}"
945999

9461000
msgid "Dictionaries"
9471001
msgstr "Słowniki"
@@ -1105,6 +1159,8 @@ msgid ""
11051159
"And dictionary unpacking (via ``**``) can be used to merge multiple "
11061160
"dictionaries::"
11071161
msgstr ""
1162+
"A rozpakowywanie słownika (przez ``**``) może być użyte do łączenia wielu "
1163+
"słowników::"
11081164

11091165
msgid ""
11101166
">>> odds = {i: i**2 for i in (1, 3, 5)}\n"
@@ -1116,6 +1172,14 @@ msgid ""
11161172
">>> {**i for i in all_values}\n"
11171173
"{1: 1, 3: 9, 5: 25, 2: 4, 4: 16, 6: 36, 0: 0}"
11181174
msgstr ""
1175+
">>> odds = {i: i**2 for i in (1, 3, 5)}\n"
1176+
">>> evens = {i: i**2 for i in (2, 4, 6)}\n"
1177+
">>> {**odds, **evens}\n"
1178+
"{1: 1, 3: 9, 5: 25, 2: 4, 4: 16, 6: 36}\n"
1179+
"\n"
1180+
">>> all_values = [odds, evens, {0: 0}]\n"
1181+
">>> {**i for i in all_values}\n"
1182+
"{1: 1, 3: 9, 5: 25, 2: 4, 4: 16, 6: 36, 0: 0}"
11191183

11201184
msgid ""
11211185
"When the keys are simple strings, it is sometimes easier to specify pairs "

0 commit comments

Comments
 (0)