@@ -29,19 +29,19 @@ msgstr ""
2929
3030msgid ""
3131"These functions are useful when creating your own extensions functions and "
32- "methods. Additional information and examples are available in :ref: "
33- "`extending-index`."
32+ "methods. Additional information and examples are available "
33+ "in :ref: `extending-index`."
3434msgstr ""
3535"Te działania są użyteczne przy tworzeniu swoich własnych zadań "
3636"rozszerzających i rozszerzających sposobów działania. Dodatkowe informacje i "
3737"przykłady dostępne są w :ref:`extending-index`."
3838
3939msgid ""
40- "The first three of these functions described, :c:func:`PyArg_ParseTuple`, :c: "
41- "func:`PyArg_ParseTupleAndKeywords `, and :c:func:`PyArg_Parse`, all use "
42- "*format strings* which are used to tell the function about the expected "
43- "arguments. The format strings use the same syntax for each of these "
44- "functions."
40+ "The first three of these functions "
41+ "described, :c: func:`PyArg_ParseTuple `, :c:func:`PyArg_ParseTupleAndKeywords`, "
42+ "and :c:func:`PyArg_Parse`, all use *format strings* which are used to tell "
43+ "the function about the expected arguments. The format strings use the same "
44+ "syntax for each of these functions."
4545msgstr ""
4646
4747msgid "Parsing arguments"
@@ -110,10 +110,10 @@ msgid ""
110110msgstr ""
111111
112112msgid ""
113- "To ensure that the underlying buffer may be safely borrowed, the object's :c: "
114- "member:`PyBufferProcs.bf_releasebuffer` field must be ``NULL``. This "
115- "disallows common mutable objects such as :class:`bytearray`, but also some "
116- "read-only objects such as :class:`memoryview` of :class:`bytes`."
113+ "To ensure that the underlying buffer may be safely borrowed, the "
114+ "object's :c: member:`PyBufferProcs.bf_releasebuffer` field must be ``NULL``. "
115+ "This disallows common mutable objects such as :class:`bytearray`, but also "
116+ "some read-only objects such as :class:`memoryview` of :class:`bytes`."
117117msgstr ""
118118
119119msgid ""
@@ -123,11 +123,11 @@ msgid ""
123123msgstr ""
124124
125125msgid ""
126- "For all ``#`` variants of formats (``s#``, ``y#``, etc.), the macro :c:macro: "
127- "`PY_SSIZE_T_CLEAN` must be defined before including :file:`Python.h`. On "
128- "Python 3.9 and older, the type of the length argument is :c:type: "
129- "`Py_ssize_t` if the :c:macro:`PY_SSIZE_T_CLEAN` macro is defined, or int "
130- "otherwise."
126+ "For all ``#`` variants of formats (``s#``, ``y#``, etc.), the "
127+ "macro :c:macro: `PY_SSIZE_T_CLEAN` must be defined before "
128+ "including :file:` Python.h`. On Python 3.9 and older, the type of the length "
129+ "argument is :c:type: `Py_ssize_t` if the :c:macro:`PY_SSIZE_T_CLEAN` macro is "
130+ "defined, or int otherwise."
131131msgstr ""
132132
133133msgid "``s`` (:class:`str`) [const char \\ *]"
@@ -145,8 +145,8 @@ msgstr ""
145145msgid ""
146146"This format does not accept :term:`bytes-like objects <bytes-like object>`. "
147147"If you want to accept filesystem paths and convert them to C character "
148- "strings, it is preferable to use the ``O&`` format with :c:func: "
149- "`PyUnicode_FSConverter` as *converter*."
148+ "strings, it is preferable to use the ``O&`` format "
149+ "with :c:func: `PyUnicode_FSConverter` as *converter*."
150150msgstr ""
151151
152152msgid ""
@@ -165,8 +165,8 @@ msgid ""
165165msgstr ""
166166
167167msgid ""
168- "``s#`` (:class:`str`, read-only :term:`bytes-like object`) [const char \\ *, : "
169- "c:type:`Py_ssize_t`]"
168+ "``s#`` (:class:`str`, read-only :term:`bytes-like object`) [const char "
169+ "\\ *, : c:type:`Py_ssize_t`]"
170170msgstr ""
171171
172172msgid ""
@@ -228,8 +228,8 @@ msgid ""
228228msgstr ""
229229
230230msgid ""
231- "``y#`` (read-only :term:`bytes-like object`) [const char \\ *, :c:type: "
232- "`Py_ssize_t`]"
231+ "``y#`` (read-only :term:`bytes-like object`) [const char "
232+ "\\ *, :c:type: `Py_ssize_t`]"
233233msgstr ""
234234
235235msgid ""
@@ -253,9 +253,9 @@ msgstr "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]"
253253
254254msgid ""
255255"Requires that the Python object is a :class:`bytearray` object, without "
256- "attempting any conversion. Raises :exc:`TypeError` if the object is not a : "
257- "class:`bytearray` object. The C variable may also be declared as :c:expr: "
258- "`PyObject*`."
256+ "attempting any conversion. Raises :exc:`TypeError` if the object is not "
257+ "a : class:`bytearray` object. The C variable may also be declared "
258+ "as :c:expr: `PyObject*`."
259259msgstr ""
260260
261261msgid "``u`` (:class:`str`) [const Py_UNICODE \\ *]"
@@ -267,13 +267,13 @@ msgid ""
267267"pointer variable, which will be filled with the pointer to an existing "
268268"Unicode buffer. Please note that the width of a :c:type:`Py_UNICODE` "
269269"character depends on compilation options (it is either 16 or 32 bits). The "
270- "Python string must not contain embedded null code points; if it does, a :exc: "
271- "`ValueError` exception is raised."
270+ "Python string must not contain embedded null code points; if it does, "
271+ "a :exc: `ValueError` exception is raised."
272272msgstr ""
273273
274274msgid ""
275- "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c: "
276- "func:`PyUnicode_AsWideCharString`."
275+ "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to "
276+ "using :c: func:`PyUnicode_AsWideCharString`."
277277msgstr ""
278278
279279msgid "``u#`` (:class:`str`) [const Py_UNICODE \\ *, :c:type:`Py_ssize_t`]"
@@ -289,18 +289,18 @@ msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]"
289289msgstr ""
290290
291291msgid ""
292- "Like ``u``, but the Python object may also be ``None``, in which case the :c: "
293- "type:`Py_UNICODE` pointer is set to ``NULL``."
292+ "Like ``u``, but the Python object may also be ``None``, in which case "
293+ "the :c: type:`Py_UNICODE` pointer is set to ``NULL``."
294294msgstr ""
295295
296296msgid ""
297- "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\ *, :c:type: "
298- "`Py_ssize_t`]"
297+ "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE "
298+ "\\ *, :c:type: `Py_ssize_t`]"
299299msgstr ""
300300
301301msgid ""
302- "Like ``u#``, but the Python object may also be ``None``, in which case the : "
303- "c:type:`Py_UNICODE` pointer is set to ``NULL``."
302+ "Like ``u#``, but the Python object may also be ``None``, in which case "
303+ "the : c:type:`Py_UNICODE` pointer is set to ``NULL``."
304304msgstr ""
305305
306306msgid "``U`` (:class:`str`) [PyObject \\ *]"
@@ -318,8 +318,8 @@ msgstr ""
318318msgid ""
319319"This format accepts any object which implements the read-write buffer "
320320"interface. It fills a :c:type:`Py_buffer` structure provided by the caller. "
321- "The buffer may contain embedded null bytes. The caller have to call :c:func: "
322- "`PyBuffer_Release` when it is done with the buffer."
321+ "The buffer may contain embedded null bytes. The caller have to "
322+ "call :c:func: `PyBuffer_Release` when it is done with the buffer."
323323msgstr ""
324324
325325msgid "``es`` (:class:`str`) [const char \\ *encoding, char \\ *\\ *buffer]"
@@ -345,8 +345,8 @@ msgstr ""
345345msgid ""
346346":c:func:`PyArg_ParseTuple` will allocate a buffer of the needed size, copy "
347347"the encoded data into this buffer and adjust *\\ *buffer* to reference the "
348- "newly allocated storage. The caller is responsible for calling :c:func: "
349- "`PyMem_Free` to free the allocated buffer after use."
348+ "newly allocated storage. The caller is responsible for "
349+ "calling :c:func: `PyMem_Free` to free the allocated buffer after use."
350350msgstr ""
351351
352352msgid ""
@@ -364,8 +364,8 @@ msgstr ""
364364"że obiekt łańcucha znaków wykorzystuje kodowanie przekazane jako parametr."
365365
366366msgid ""
367- "``es#`` (:class:`str`) [const char \\ *encoding, char \\ * \\ *buffer, :c:type: "
368- "`Py_ssize_t` \\ *buffer_length]"
367+ "``es#`` (:class:`str`) [const char \\ *encoding, char "
368+ "\\ * \\ *buffer, :c:type: `Py_ssize_t` \\ *buffer_length]"
369369msgstr ""
370370
371371msgid ""
@@ -436,8 +436,8 @@ msgid "``b`` (:class:`int`) [unsigned char]"
436436msgstr "``b`` (:class:`int`) [unsigned char]"
437437
438438msgid ""
439- "Convert a nonnegative Python integer to an unsigned tiny int, stored in a C : "
440- "c:expr:`unsigned char`."
439+ "Convert a nonnegative Python integer to an unsigned tiny int, stored in a "
440+ "C : c:expr:`unsigned char`."
441441msgstr ""
442442
443443msgid "``B`` (:class:`int`) [unsigned char]"
@@ -555,9 +555,9 @@ msgstr "``O`` (object) [PyObject \\*]"
555555
556556msgid ""
557557"Store a Python object (without any conversion) in a C object pointer. The C "
558- "program thus receives the actual object that was passed. A new :term: "
559- "`strong reference` to the object is not created (i.e. its reference count is "
560- "not increased). The pointer stored is not ``NULL``."
558+ "program thus receives the actual object that was passed. A "
559+ "new :term: `strong reference` to the object is not created (i.e. its "
560+ "reference count is not increased). The pointer stored is not ``NULL``."
561561msgstr ""
562562
563563msgid "``O!`` (object) [*typeobject*, PyObject \\ *]"
@@ -582,12 +582,12 @@ msgid ""
582582msgstr ""
583583
584584msgid ""
585- "where *object* is the Python object to be converted and *address* is the :c: "
586- "expr:`void*` argument that was passed to the ``PyArg_Parse*`` function. The "
587- "returned *status* should be ``1`` for a successful conversion and ``0`` if "
588- "the conversion has failed. When the conversion fails, the *converter* "
589- "function should raise an exception and leave the content of *address* "
590- "unmodified."
585+ "where *object* is the Python object to be converted and *address* is "
586+ "the :c: expr:`void*` argument that was passed to the ``PyArg_Parse*`` "
587+ "function. The returned *status* should be ``1`` for a successful conversion "
588+ "and ``0`` if the conversion has failed. When the conversion fails, the "
589+ "*converter* function should raise an exception and leave the content of "
590+ "*address* unmodified."
591591msgstr ""
592592
593593msgid ""
@@ -682,8 +682,8 @@ msgstr "``;``"
682682
683683msgid ""
684684"The list of format units ends here; the string after the semicolon is used "
685- "as the error message *instead* of the default error message. ``:`` and ``; "
686- "`` mutually exclude each other."
685+ "as the error message *instead* of the default error message. ``:`` and "
686+ "``;`` mutually exclude each other."
687687msgstr ""
688688"Na tym kończy się lista jednostek formatu; ciąg po średniku jest traktowany "
689689"jako informacja o błędzie do użycia *zamiast* automatycznej wiadomości o "
@@ -736,9 +736,10 @@ msgstr ""
736736msgid ""
737737"Parse the parameters of a function that takes both positional and keyword "
738738"parameters into local variables. The *keywords* argument is a ``NULL``-"
739- "terminated array of keyword parameter names. Empty names denote :ref:"
740- "`positional-only parameters <positional-only_parameter>`. Returns true on "
741- "success; on failure, it returns false and raises the appropriate exception."
739+ "terminated array of keyword parameter names. Empty names "
740+ "denote :ref:`positional-only parameters <positional-only_parameter>`. "
741+ "Returns true on success; on failure, it returns false and raises the "
742+ "appropriate exception."
742743msgstr ""
743744
744745msgid ""
@@ -816,10 +817,10 @@ msgid ""
816817"When memory buffers are passed as parameters to supply data to build "
817818"objects, as for the ``s`` and ``s#`` formats, the required data is copied. "
818819"Buffers provided by the caller are never referenced by the objects created "
819- "by :c:func:`Py_BuildValue`. In other words, if your code invokes :c:func: "
820- "`malloc` and passes the allocated memory to :c:func:`Py_BuildValue`, your "
821- "code is responsible for calling :c:func:`free` for that memory once :c:func: "
822- "`Py_BuildValue` returns."
820+ "by :c:func:`Py_BuildValue`. In other words, if your code "
821+ "invokes :c:func: `malloc` and passes the allocated memory "
822+ "to :c:func:`Py_BuildValue`, your code is responsible for "
823+ "calling :c:func:`free` for that memory once :c:func: `Py_BuildValue` returns."
823824msgstr ""
824825
825826msgid ""
@@ -969,9 +970,9 @@ msgid ""
969970"Pass a Python object untouched but create a new :term:`strong reference` to "
970971"it (i.e. its reference count is incremented by one). If the object passed in "
971972"is a ``NULL`` pointer, it is assumed that this was caused because the call "
972- "producing the argument found an error and set an exception. Therefore, :c: "
973- "func:`Py_BuildValue` will return ``NULL`` but won't raise an exception. If "
974- "no exception has been raised yet, :exc:`SystemError` is set."
973+ "producing the argument found an error and set an exception. "
974+ "Therefore, :c: func:`Py_BuildValue` will return ``NULL`` but won't raise an "
975+ "exception. If no exception has been raised yet, :exc:`SystemError` is set."
975976msgstr ""
976977
977978msgid "``S`` (object) [PyObject \\ *]"
@@ -991,9 +992,9 @@ msgstr ""
991992
992993msgid ""
993994"Convert *anything* to a Python object through a *converter* function. The "
994- "function is called with *anything* (which should be compatible with :c:expr: "
995- "`void*`) as its argument and should return a \" new\" Python object, or "
996- "``NULL`` if an error occurred."
995+ "function is called with *anything* (which should be compatible "
996+ "with :c:expr: `void*`) as its argument and should return a \" new\" Python "
997+ "object, or ``NULL`` if an error occurred."
997998msgstr ""
998999
9991000msgid ""
0 commit comments