| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4f47335 commit c6247ab
20 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-07-31 15:58+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-08-09 14:27+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" | |
@@ -638,17 +638,20 @@ msgid "" | |||
| 638 | 638 | "optional. The C variables corresponding to optional arguments should be " | |
| 639 | 639 | "initialized to their default value --- when an optional argument is not " | |
| 640 | 640 | "specified, :c:func:`PyArg_ParseTuple` does not touch the contents of the " | |
| 641 | - "corresponding C variable(s)." | ||
| 641 | + "corresponding C variable(s). For example, the format string ``\"OO|OO\"`` " | ||
| 642 | + "corresponds to the Python signature ``f(a, b, c=None, d=None)``." | ||
| 642 | 643 | msgstr "" | |
| 643 | 644 | ||
| 644 | 645 | msgid "``$``" | |
| 645 | 646 | msgstr "``$``" | |
| 646 | 647 | ||
| 647 | 648 | msgid "" | |
| 648 | 649 | ":c:func:`PyArg_ParseTupleAndKeywords` only: Indicates that the remaining " | |
| 649 | - "arguments in the Python argument list are keyword-only. Currently, all " | ||
| 650 | - "keyword-only arguments must also be optional arguments, so ``|`` must always " | ||
| 651 | - "be specified before ``$`` in the format string." | ||
| 650 | + "arguments in the Python argument list are keyword-only. They are optional if " | ||
| 651 | + "``|`` was specified before ``$``, and required otherwise. ``|`` cannot be " | ||
| 652 | + "specified after ``$``. For example, the format string ``\"O|O$O\"`` " | ||
| 653 | + "corresponds to the Python signature ``f(a, b=None, *, c=None)``, and the " | ||
| 654 | + "format string ``\"OO$OO\"`` corresponds to ``f(a, b, *, c, d)``." | ||
| 652 | 655 | msgstr "" | |
| 653 | 656 | ||
| 654 | 657 | msgid "``:``" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-07-19 14:48+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-08-09 14:27+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2026\n" | |
| 17 | 17 | "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" | |
@@ -251,29 +251,8 @@ msgid "The frame corresponds to a method on a class instance." | |||
| 251 | 251 | msgstr "" | |
| 252 | 252 | ||
| 253 | 253 | msgid "" | |
| 254 | - "However, Python's C API lacks a function to read the executable kind from a " | ||
| 255 | - "frame. Instead, use this recipe:" | ||
| 256 | - msgstr "" | ||
| 257 | - | ||
| 258 | - msgid "" | ||
| 259 | - "int\n" | ||
| 260 | - "get_executable_kind(PyFrameObject *frame)\n" | ||
| 261 | - "{\n" | ||
| 262 | - " _PyInterpreterFrame *f = frame->f_frame;\n" | ||
| 263 | - " PyObject *exec = PyStackRef_AsPyObjectBorrow(f->f_executable);\n" | ||
| 264 | - "\n" | ||
| 265 | - " if (PyCode_Check(exec)) {\n" | ||
| 266 | - " return PyUnstable_EXECUTABLE_KIND_PY_FUNCTION;\n" | ||
| 267 | - " }\n" | ||
| 268 | - " if (PyMethod_Check(exec)) {\n" | ||
| 269 | - " return PyUnstable_EXECUTABLE_KIND_BUILTIN_FUNCTION;\n" | ||
| 270 | - " }\n" | ||
| 271 | - " if (Py_IS_TYPE(exec, &PyMethodDescr_Type)) {\n" | ||
| 272 | - " return PyUnstable_EXECUTABLE_KIND_METHOD_DESCRIPTOR;\n" | ||
| 273 | - " }\n" | ||
| 274 | - "\n" | ||
| 275 | - " return PyUnstable_EXECUTABLE_KIND_SKIP;\n" | ||
| 276 | - "}" | ||
| 254 | + "Note that reading the executable kind from a frame is currently only " | ||
| 255 | + "possible with undocumented internal APIs." | ||
| 277 | 256 | msgstr "" | |
| 278 | 257 | ||
| 279 | 258 | msgid "The number of entries in :c:data:`PyUnstable_ExecutableKinds`." | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-07-19 14:48+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-08-07 14:47+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 | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-07-19 14:48+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-08-07 14:47+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 | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-07-19 14:48+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-08-07 14:47+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 | |
|---|---|---|---|
@@ -12,7 +12,7 @@ msgid "" | |||
| 12 | 12 | msgstr "" | |
| 13 | 13 | "Project-Id-Version: Python 3.15\n" | |
| 14 | 14 | "Report-Msgid-Bugs-To: \n" | |
| 15 | - "POT-Creation-Date: 2026-07-21 15:29+0000\n" | ||
| 15 | + "POT-Creation-Date: 2026-08-09 14:27+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 17 | 17 | "Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n" | |
| 18 | 18 | "Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n" | |
@@ -1968,12 +1968,12 @@ msgid "" | |||
| 1968 | 1968 | ">>> # invalid option\n" | |
| 1969 | 1969 | ">>> parser.parse_args(['--bar'])\n" | |
| 1970 | 1970 | "usage: PROG [-h] [--foo FOO] [bar]\n" | |
| 1971 | - "PROG: error: no such option: --bar\n" | ||
| 1971 | + "PROG: error: unrecognized arguments: --bar\n" | ||
| 1972 | 1972 | "\n" | |
| 1973 | 1973 | ">>> # wrong number of arguments\n" | |
| 1974 | 1974 | ">>> parser.parse_args(['spam', 'badger'])\n" | |
| 1975 | 1975 | "usage: PROG [-h] [--foo FOO] [bar]\n" | |
| 1976 | - "PROG: error: extra arguments found: badger" | ||
| 1976 | + "PROG: error: unrecognized arguments: badger" | ||
| 1977 | 1977 | msgstr "" | |
| 1978 | 1978 | ||
| 1979 | 1979 | msgid "Arguments containing ``-``" | |
@@ -2014,7 +2014,7 @@ msgid "" | |||
| 2014 | 2014 | ">>> # negative number options present, so -2 is an option\n" | |
| 2015 | 2015 | ">>> parser.parse_args(['-2'])\n" | |
| 2016 | 2016 | "usage: PROG [-h] [-1 ONE] [foo]\n" | |
| 2017 | - "PROG: error: no such option: -2\n" | ||
| 2017 | + "PROG: error: unrecognized arguments: -2\n" | ||
| 2018 | 2018 | "\n" | |
| 2019 | 2019 | ">>> # negative number options present, so both -1s are options\n" | |
| 2020 | 2020 | ">>> parser.parse_args(['-1', '-1'])\n" | |
@@ -2041,6 +2041,12 @@ msgid "" | |||
| 2041 | 2041 | "ambiguous-arguments>` for more details." | |
| 2042 | 2042 | msgstr "" | |
| 2043 | 2043 | ||
| 2044 | + msgid "" | ||
| 2045 | + "Negative-number matching was expanded to include numbers in scientific " | ||
| 2046 | + "notation (``-2.5e-6``), numbers containing underscores (``-1_234.5``), and " | ||
| 2047 | + "complex numbers (``-1.2e-3j``)." | ||
| 2048 | + msgstr "" | ||
| 2049 | + | ||
| 2044 | 2050 | msgid "Argument abbreviations (prefix matching)" | |
| 2045 | 2051 | msgstr "" | |
| 2046 | 2052 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-08-05 15:56+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-08-09 14:27+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" | |
@@ -363,6 +363,20 @@ msgid "" | |||
| 363 | 363 | " task.add_done_callback(background_tasks.discard)" | |
| 364 | 364 | msgstr "" | |
| 365 | 365 | ||
| 366 | + msgid "" | ||
| 367 | + "Note that this approach never awaits the tasks, so if a task fails, its " | ||
| 368 | + "exception is never retrieved and asyncio logs a \"Task exception was never " | ||
| 369 | + "retrieved\" message when the task is garbage collected. To avoid this, use :" | ||
| 370 | + "class:`asyncio.TaskGroup` which keeps a strong reference to each task, " | ||
| 371 | + "awaits them and propagates their exceptions::" | ||
| 372 | + msgstr "" | ||
| 373 | + | ||
| 374 | + msgid "" | ||
| 375 | + "async with asyncio.TaskGroup() as tg:\n" | ||
| 376 | + " for i in range(10):\n" | ||
| 377 | + " tg.create_task(some_coro(param=i))" | ||
| 378 | + msgstr "" | ||
| 379 | + | ||
| 366 | 380 | msgid "Added the *name* parameter." | |
| 367 | 381 | msgstr "" | |
| 368 | 382 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-07-19 14:48+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-08-07 14:47+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 | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-07-19 14:48+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-08-07 14:47+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+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 | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-07-19 14:48+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-08-07 14:47+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:01+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