| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fb40536 commit fc4e0ae
7 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,8 +15,8 @@ f'''[](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml) | |
| 17 | 17 | [](https://translations.python.org/#pl) | |
| 18 | - [](https://translations.python.org/#pl) | ||
| 19 | - [](https://translations.python.org/#pl) | ||
| 18 | + [](https://translations.python.org/#pl) | ||
| 19 | + [](https://translations.python.org/#pl) | ||
| 20 | 20 | <!-- [[[end]]] --> | |
| 21 | 21 | ||
| 22 | 22 | *Przeczytaj to w innym języku: [polski](README.md)* | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,8 +15,8 @@ f'''[](https://github.com/python/python-docs-pl/actions/workflows/update-lint-and-build.yml) | |
| 17 | 17 | [](https://translations.python.org/#pl) | |
| 18 | - [](https://translations.python.org/#pl) | ||
| 19 | - [](https://translations.python.org/#pl) | ||
| 18 | + [](https://translations.python.org/#pl) | ||
| 19 | + [](https://translations.python.org/#pl) | ||
| 20 | 20 | <!-- [[[end]]] --> | |
| 21 | 21 | ||
| 22 | 22 | *Read this in another language: [English](README.en.md)* | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,9 +9,9 @@ | |||
| 9 | 9 | #, fuzzy | |
| 10 | 10 | msgid "" | |
| 11 | 11 | msgstr "" | |
| 12 | - "Project-Id-Version: Python 3.14\n" | ||
| 12 | + "Project-Id-Version: Python 3.15\n" | ||
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-04-23 15:47+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-05-13 16:14+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,9 +9,9 @@ | |||
| 9 | 9 | #, fuzzy | |
| 10 | 10 | msgid "" | |
| 11 | 11 | msgstr "" | |
| 12 | - "Project-Id-Version: Python 3.14\n" | ||
| 12 | + "Project-Id-Version: Python 3.15\n" | ||
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-04-23 15:47+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-05-13 16:14+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,9 +9,9 @@ | |||
| 9 | 9 | #, fuzzy | |
| 10 | 10 | msgid "" | |
| 11 | 11 | msgstr "" | |
| 12 | - "Project-Id-Version: Python 3.14\n" | ||
| 12 | + "Project-Id-Version: Python 3.15\n" | ||
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-04-23 15:47+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-05-13 16:14+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -158,6 +158,8 @@ msgstr "dla C++ deklaruje funkcja jako" | |||
| 158 | 158 | ||
| 159 | 159 | msgid "For example, a module called ``spam`` would be defined like this::" | |
| 160 | 160 | msgstr "" | |
| 161 | + "Na przykład moduł o ``spam`` nazwie zostałby zdefiniowany w następujący " | ||
| 162 | + "sposób:" | ||
| 161 | 163 | ||
| 162 | 164 | msgid "" | |
| 163 | 165 | "PyABIInfo_VAR(abi_info);\n" | |
@@ -176,18 +178,39 @@ msgid "" | |||
| 176 | 178 | " return spam_slots;\n" | |
| 177 | 179 | "}" | |
| 178 | 180 | msgstr "" | |
| 181 | + "PyABIInfo_VAR(abi_info);\n" | ||
| 182 | + "\n" | ||
| 183 | + "static PySlot spam_slots[] = {\n" | ||
| 184 | + "PySlot_STATIC_DATA(Py_mod_abi, &abi_info),\n" | ||
| 185 | + "PySlot_STATIC_DATA(Py_mod_name, \"spam\"),\n" | ||
| 186 | + "PySlot_FUNC(Py_mod_init, spam_init_function),\n" | ||
| 187 | + "...\n" | ||
| 188 | + "PySlot_END\n" | ||
| 189 | + "};\n" | ||
| 190 | + "\n" | ||
| 191 | + "PyMODEXPORT_FUNC\n" | ||
| 192 | + "PyModExport_spam(void)\n" | ||
| 193 | + "{\n" | ||
| 194 | + "zwracać spam_slots;\n" | ||
| 195 | + "}" | ||
| 179 | 196 | ||
| 180 | 197 | msgid "" | |
| 181 | 198 | "The export hook is typically the only non-\\ ``static`` item defined in the " | |
| 182 | 199 | "module's C source." | |
| 183 | 200 | msgstr "" | |
| 201 | + "Hak eksportu jest zazwyczaj jedynym elementem innym niż \\ ``static`` " | ||
| 202 | + "zdefiniowanym w kodzie źródłowym moduł C." | ||
| 184 | 203 | ||
| 185 | 204 | msgid "" | |
| 186 | 205 | "The hook should be kept short -- ideally, one line as above. If you do need " | |
| 187 | 206 | "to use Python C API in this function, it is recommended to call " | |
| 188 | 207 | "``PyABIInfo_Check(&abi_info, \"modulename\")`` first to raise an exception, " | |
| 189 | 208 | "rather than crash, in common cases of ABI mismatch." | |
| 190 | 209 | msgstr "" | |
| 210 | + "Hak powinien być krótki – najlepiej jeden wiersz, jak powyżej. Jeśli jednak " | ||
| 211 | + "musisz użyć API Python C API w tej funkcja, zaleca się najpierw wywołać ją, " | ||
| 212 | + "aby zgłosić rzucić wyjątek, zamiast spowodować awarię, w typowych " | ||
| 213 | + "przypadkach niezgodności ABI." | ||
| 191 | 214 | ||
| 192 | 215 | msgid "" | |
| 193 | 216 | "It is possible to export multiple modules from a single shared library by " | |
@@ -198,17 +221,29 @@ msgid "" | |||
| 198 | 221 | "pep-0489/#multiple-modules-in-one-library>`__ section in :pep:`489` for " | |
| 199 | 222 | "details." | |
| 200 | 223 | msgstr "" | |
| 224 | + "Możliwe jest eksportowanie wielu moduł z jednej biblioteki współdzielona " | ||
| 225 | + "biblioteka poprzez zdefiniowanie wielu haków eksportu. Ich importowanie " | ||
| 226 | + "wymaga jednak użycia niestandardowego importera lub odpowiednio nazwanych " | ||
| 227 | + "kopii/linków pliku rozszerzenia, ponieważ mechanizm importu Pythona znajduje " | ||
| 228 | + "tylko funkcja odpowiadającą nazwie pliku. Szczegółowe informacje moduł " | ||
| 229 | + "można znaleźć w sekcji „Wiele modułów w jednej biblioteka”. <https://peps." | ||
| 230 | + "python.org/pep-0489/#multiple-modules-in-one-library>`__ section in :pep:" | ||
| 231 | + "`489` for details." | ||
| 201 | 232 | ||
| 202 | 233 | msgid "Multi-phase initialization" | |
| 203 | - msgstr "" | ||
| 234 | + msgstr "Inicjalizacja wielofazowa" | ||
| 204 | 235 | ||
| 205 | 236 | msgid "The process of creating an extension module follows several phases:" | |
| 206 | 237 | msgstr "" | |
| 238 | + "przetwarzanie/proces przetwarzanie tworzenia moduł rozszerzenia przebiega w " | ||
| 239 | + "kilku fazach:" | ||
| 207 | 240 | ||
| 208 | 241 | msgid "" | |
| 209 | 242 | "Python finds and calls the export hook to get information on how to create " | |
| 210 | 243 | "the module." | |
| 211 | 244 | msgstr "" | |
| 245 | + "Python wyszukuje i wywołuje hak eksportu, aby uzyskać informacje o sposobie " | ||
| 246 | + "tworzenia moduł." | ||
| 212 | 247 | ||
| 213 | 248 | msgid "" | |
| 214 | 249 | "Before any substantial code is executed, Python can determine which " | |
@@ -217,12 +252,20 @@ msgid "" | |||
| 217 | 252 | "c:data:`Py_mod_gil` and :c:data:`Py_mod_multiple_interpreters` influence " | |
| 218 | 253 | "this step." | |
| 219 | 254 | msgstr "" | |
| 255 | + "Zanim zostanie wykonany jakikolwiek istotny kod, Python może określić, jakie " | ||
| 256 | + "możliwości obsługuje moduł, i dostosować środowisko lub odmówić załadowania " | ||
| 257 | + "niekompatybilnego rozszerzenia. Na ten krok wpływają sloty takie jak :c:" | ||
| 258 | + "data:`Py_mod_abi` , :c:data:`Py_mod_gil`i :c:data:" | ||
| 259 | + "`Py_mod_multiple_interpreters` ." | ||
| 220 | 260 | ||
| 221 | 261 | msgid "" | |
| 222 | 262 | "By default, Python itself then creates the module object -- that is, it does " | |
| 223 | 263 | "the equivalent of calling :py:meth:`~object.__new__` when creating an " | |
| 224 | 264 | "object. This step can be overridden using the :c:data:`Py_mod_create` slot." | |
| 225 | 265 | msgstr "" | |
| 266 | + "domyślny Python sam tworzy obiekt moduł – czyli wykonuje czynność " | ||
| 267 | + "odpowiadającą wywołaniu :py:meth:`~object.__new__` podczas tworzenia " | ||
| 268 | + "obiektu. Ten krok można pominąć za pomocą :c:data:`Py_mod_create` slotu." | ||
| 226 | 269 | ||
| 227 | 270 | msgid "" | |
| 228 | 271 | "Python sets initial module attributes like :attr:`~module.__package__` and :" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,9 +9,9 @@ | |||
| 9 | 9 | #, fuzzy | |
| 10 | 10 | msgid "" | |
| 11 | 11 | msgstr "" | |
| 12 | - "Project-Id-Version: Python 3.14\n" | ||
| 12 | + "Project-Id-Version: Python 3.15\n" | ||
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-04-23 15:47+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-05-13 16:14+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments