Skip to content

Commit f6a9916

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 4c87db7 commit f6a9916

42 files changed

Lines changed: 1152 additions & 386 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.en.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-
1717
]]] -->
1818
[![build](https://github.com/python/python-docs-pl/actions/workflows/update-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-and-build.yml)
1919
[![core 100.00%](https://img.shields.io/badge/core-100.00%25-0.svg)](https://translations.python.org/#pl)
20-
[![Total Translation of Documentation](https://img.shields.io/badge/total_words-5.75%25-0.svg)](https://translations.python.org/#pl)
21-
[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-12.40%25-0.svg)](https://translations.python.org/#pl)
20+
[![Total Translation of Documentation](https://img.shields.io/badge/total_words-5.69%25-0.svg)](https://translations.python.org/#pl)
21+
[![Total Translation of Documentation](https://img.shields.io/badge/total_strings-12.33%25-0.svg)](https://translations.python.org/#pl)
2222
[![lint errors count](https://shields.io/badge/dynamic/xml?url=https%3A%2F%2Ftranslations.python.org%2Fbuild-details.html&query=%2F%2Ftr%5Btd%5B%40data-label%3D%27language%27%20and%20contains%28.%2C%20%27%28pl%29%27%29%5D%5D%20%20%20%2F%2Ftd%5B%40data-label%3D%27lint%27%5D%2Fa%2Ftext()&label=lint%20errors)](https://github.com/python/python-docs-pl/actions/workflows/lint.yml)
2323

2424
<!-- [[[end]]] -->

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ f'''[![build](https://github.com/python/python-docs-pl/actions/workflows/update-
1717
]]] -->
1818
[![build](https://github.com/python/python-docs-pl/actions/workflows/update-and-build.yml/badge.svg)](https://github.com/python/python-docs-pl/actions/workflows/update-and-build.yml)
1919
[![podstawowe artykuły 100.00%](https://img.shields.io/badge/podstawowe_artykuły-100.00%25-0.svg)](https://translations.python.org/#pl)
20-
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_słów-5.75%25-0.svg)](https://translations.python.org/#pl)
21-
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-12.40%25-0.svg)](https://translations.python.org/#pl)
20+
[![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)
21+
[![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość_napisów-12.33%25-0.svg)](https://translations.python.org/#pl)
2222
[![liczba błędów lintowania](https://shields.io/badge/dynamic/xml?url=https%3A%2F%2Ftranslations.python.org%2Fbuild-details.html&query=%2F%2Ftr%5Btd%5B%40data-label%3D%27language%27%20and%20contains%28.%2C%20%27%28pl%29%27%29%5D%5D%20%20%20%2F%2Ftd%5B%40data-label%3D%27lint%27%5D%2Fa%2Ftext()&label=b%C5%82%C4%99dy%20lintowania)](https://github.com/python/python-docs-pl/actions/workflows/lint.yml)
2323

2424
<!-- [[[end]]] -->

‎builtins/functions.po‎

Lines changed: 13 additions & 5 deletions
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-09-25 18:08+0000\n"
16+
"POT-Creation-Date: 2026-10-11 18:31+0000\n"
1717
"PO-Revision-Date: 2026-09-13 17:09+0000\n"
1818
"Last-Translator: Maciej Olko, 2026\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -793,11 +793,14 @@ msgstr ""
793793
"nazwę modułu."
794794

795795
msgid ""
796-
"This function raises :exc:`SyntaxError` or :exc:`ValueError` if the compiled "
797-
"source is invalid."
796+
"This function raises :exc:`SyntaxError` if the compiled source is invalid, "
797+
"including a *source* containing a null character or that cannot be decoded; :"
798+
"exc:`ValueError` if *mode* or *flags* is invalid, or if a string *source* "
799+
"contains surrogate characters; :exc:`MemoryError` or :exc:`RecursionError` "
800+
"if *source* is too complex to parse or compile, for example an expression "
801+
"with many thousands of nested operators; and :exc:`OverflowError` if "
802+
"*source* is too large."
798803
msgstr ""
799-
"To funkcja rzuci :exc:`SyntaxError` lub :exc:`ValueError` jeśli skompilowane "
800-
"źródło jest nieprawidłowe."
801804

802805
msgid ""
803806
"If you want to parse Python code into its AST representation, see :func:`ast."
@@ -858,6 +861,11 @@ msgstr ""
858861
"włączyć obsługę najwyższego poziomu ``await``, ``async for`` i ``async "
859862
"with``."
860863

864+
msgid ""
865+
":exc:`SyntaxError` is raised instead of :exc:`ValueError` when null bytes "
866+
"are encountered in *source*."
867+
msgstr ""
868+
861869
msgid "Added the *module* parameter."
862870
msgstr "Dodany parametr *module*."
863871

‎c-api/allocation.po‎

Lines changed: 1 addition & 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-09-19 16:52+0000\n"
16+
"POT-Creation-Date: 2026-10-09 19:08+0000\n"
1717
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1818
"Last-Translator: Stan Ulbrych, 2026\n"
1919
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

‎c-api/bytes.po‎

Lines changed: 125 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-10-03 17:41+0000\n"
14+
"POT-Creation-Date: 2026-10-11 18:31+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
@@ -537,6 +537,130 @@ msgid ""
537537
"return (char*)PyBytesWriter_GetData(writer) + pos;"
538538
msgstr ""
539539

540+
msgid "Example creating the string ``b'abc'``"
541+
msgstr ""
542+
543+
msgid ""
544+
"Example creating the bytes string ``b\"abc\"``, with a fixed size of 3 "
545+
"bytes::"
546+
msgstr ""
547+
548+
msgid ""
549+
"PyObject* create_abc(void)\n"
550+
"{\n"
551+
" PyBytesWriter *writer = PyBytesWriter_Create(3);\n"
552+
" if (writer == NULL) {\n"
553+
" return NULL;\n"
554+
" }\n"
555+
"\n"
556+
" char *str = PyBytesWriter_GetData(writer);\n"
557+
" memcpy(str, \"abc\", 3);\n"
558+
" return PyBytesWriter_Finish(writer);\n"
559+
"}"
560+
msgstr ""
561+
562+
msgid "Variant using a pointer to compute the final size::"
563+
msgstr ""
564+
565+
msgid ""
566+
"PyObject* create_abc_ptr(void)\n"
567+
"{\n"
568+
" PyBytesWriter *writer = PyBytesWriter_Create(3);\n"
569+
" if (writer == NULL) {\n"
570+
" return NULL;\n"
571+
" }\n"
572+
"\n"
573+
" char *str = PyBytesWriter_GetData(writer);\n"
574+
" memcpy(str, \"abc\", 3);\n"
575+
" str += 1;\n"
576+
" return PyBytesWriter_FinishWithPointer(writer, str);\n"
577+
"}"
578+
msgstr ""
579+
580+
msgid "Update ``PyBytes_FromStringAndSize()`` code"
581+
msgstr ""
582+
583+
msgid ""
584+
"Example of code using the soft deprecated ``PyBytes_FromStringAndSize(NULL, "
585+
"size)`` API::"
586+
msgstr ""
587+
588+
msgid ""
589+
"int copy_bytes(char *dest, const char *src, Py_ssize_t num_bytes)\n"
590+
"{\n"
591+
" ...\n"
592+
"}\n"
593+
"\n"
594+
"PyObject* create_string(const char *start, Py_ssize_t num_bytes)\n"
595+
"{\n"
596+
" PyObject *result = PyBytes_FromStringAndSize(NULL, num_bytes);\n"
597+
" if (result == NULL) {\n"
598+
" return NULL;\n"
599+
" }\n"
600+
" if (copy_bytes(PyBytes_AS_STRING(result), start, num_bytes) < 0) {\n"
601+
" Py_CLEAR(result);\n"
602+
" }\n"
603+
" return result;\n"
604+
"}"
605+
msgstr ""
606+
607+
msgid "It can now be updated to::"
608+
msgstr ""
609+
610+
msgid ""
611+
"PyObject* create_string(const char *start, Py_ssize_t num_bytes)\n"
612+
"{\n"
613+
" PyBytesWriter *writer = PyBytesWriter_Create(num_bytes);\n"
614+
" if (writer == NULL) {\n"
615+
" return NULL;\n"
616+
" }\n"
617+
" if (copy_bytes(PyBytesWriter_GetData(writer), start, num_bytes) < 0) {\n"
618+
" PyBytesWriter_Discard(writer);\n"
619+
" return NULL;\n"
620+
" }\n"
621+
" return PyBytesWriter_Finish(writer);\n"
622+
"}"
623+
msgstr ""
624+
625+
msgid "Update ``_PyBytes_Resize()`` code"
626+
msgstr ""
627+
628+
msgid "Example of code using the soft deprecated ``_PyBytes_Resize()`` API::"
629+
msgstr ""
630+
631+
msgid ""
632+
"void create_string(Py_ssize_t size)\n"
633+
"{\n"
634+
" PyObject *bytes = PyBytes_FromStringAndSize(NULL, size);\n"
635+
" if (bytes == NULL) {\n"
636+
" return NULL;\n"
637+
" }\n"
638+
" char *str = PyBytes_AS_STRING(bytes);\n"
639+
"\n"
640+
" // ... write data into str ...\n"
641+
"\n"
642+
" if (_PyBytes_Resize(&bytes, (str - PyBytes_AS_STRING(bytes)))) {\n"
643+
" return NULL;\n"
644+
" }\n"
645+
" return bytes;\n"
646+
"}"
647+
msgstr ""
648+
649+
msgid ""
650+
"void create_string(Py_ssize_t size)\n"
651+
"{\n"
652+
" PyBytesWriter *writer = PyBytesWriter_Create(size);\n"
653+
" if (writer == NULL) {\n"
654+
" return NULL;\n"
655+
" }\n"
656+
" char *str = PyBytesWriter_GetData(writer);\n"
657+
"\n"
658+
" // ... write data into str ...\n"
659+
"\n"
660+
" return PyBytesWriter_FinishWithPointer(writer, str);\n"
661+
"}"
662+
msgstr ""
663+
540664
msgid "object"
541665
msgstr "obiekt"
542666

‎c-api/dict.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-20 14:29+0000\n"
14+
"POT-Creation-Date: 2026-10-09 19:08+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

‎c-api/list.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-20 14:29+0000\n"
14+
"POT-Creation-Date: 2026-10-09 19:08+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

‎c-api/memory.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-19 16:52+0000\n"
14+
"POT-Creation-Date: 2026-10-09 19:08+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

‎c-api/sequence.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-20 14:29+0000\n"
14+
"POT-Creation-Date: 2026-10-09 19:08+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

‎c-api/threads.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-09-20 14:29+0000\n"
15+
"POT-Creation-Date: 2026-10-09 19:08+0000\n"
1616
"PO-Revision-Date: 2026-02-25 14:46+0000\n"
1717
"Last-Translator: python-doc bot, 2026\n"
1818
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"

0 commit comments

Comments
 (0)