forked from AFPy/python-docs-fr
merge pot files.
This commit is contained in:
parent c2b58d3161
commit e810d13422
39 changed files with 4970 additions and 4789 deletions
331 c-api/arg.po
331
c-api/arg.po | | @ -7,7 +7,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-05-27 19:40+0200\n" | ||||
"POT-Creation-Date: 2018-04-29 00:24+0200\n" | ||||
"PO-Revision-Date: 2018-02-15 00:29+0100\n" | ||||
"Last-Translator: Julien Palard <julien@palard.fr>\n" | ||||
"Language-Team: \n" | ||||
| | @ -295,7 +295,7 @@ msgid "" | |||
"`PyObject\\*`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:152 ../Doc/c-api/arg.rst:557 | ||||
#: ../Doc/c-api/arg.rst:156 | ||||
msgid "``u`` (:class:`str`) [Py_UNICODE \\*]" | ||||
msgstr "``u`` (:class:`str`) [Py_UNICODE \\*]" | ||||
| ||||
| | @ -310,22 +310,29 @@ msgid "" | |||
"`ValueError` exception is raised." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:157 ../Doc/c-api/arg.rst:562 | ||||
#: ../Doc/c-api/arg.rst:157 ../Doc/c-api/arg.rst:166 ../Doc/c-api/arg.rst:174 | ||||
#: ../Doc/c-api/arg.rst:182 | ||||
msgid "" | ||||
"Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" | ||||
"func:`PyUnicode_AsWideCharString`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:165 | ||||
msgid "``u#`` (:class:`str`) [Py_UNICODE \\*, int]" | ||||
msgstr "``u#`` (:class:`str`) [Py_UNICODE \\*, int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:155 | ||||
#: ../Doc/c-api/arg.rst:159 | ||||
msgid "" | ||||
"This variant on ``u`` stores into two C variables, the first one a pointer " | ||||
"to a Unicode data buffer, the second one its length. This variant allows " | ||||
"null code points." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:161 | ||||
#: ../Doc/c-api/arg.rst:173 | ||||
msgid "``Z`` (:class:`str` or ``None``) [Py_UNICODE \\*]" | ||||
msgstr "``Z`` (:class:`str` ou ``None``) [Py_UNICODE \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:160 | ||||
#: ../Doc/c-api/arg.rst:168 | ||||
msgid "" | ||||
"Like ``u``, but the Python object may also be ``None``, in which case the :c:" | ||||
"type:`Py_UNICODE` pointer is set to *NULL*." | ||||
| | @ -333,11 +340,11 @@ msgstr "" | |||
"Comme ``u``, mais l'objet Python peut aussi être ``None``, auquel cas le " | ||||
"pointeur :c:type:`Py_UNICODE` vaut *NULL*." | ||||
| ||||
#: ../Doc/c-api/arg.rst:165 | ||||
#: ../Doc/c-api/arg.rst:181 | ||||
msgid "``Z#`` (:class:`str` or ``None``) [Py_UNICODE \\*, int]" | ||||
msgstr "``Z#`` (:class:`str` ou ``None``) [Py_UNICODE \\*, int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:164 | ||||
#: ../Doc/c-api/arg.rst:176 | ||||
msgid "" | ||||
"Like ``u#``, but the Python object may also be ``None``, in which case the :" | ||||
"c:type:`Py_UNICODE` pointer is set to *NULL*." | ||||
| | @ -345,22 +352,22 @@ msgstr "" | |||
"Comme ``u#``, mais l'objet Python peut également être ``None``, auquel cas " | ||||
"le pointeur :c:type:`Py_UNICODE` vaut *NULL*." | ||||
| ||||
#: ../Doc/c-api/arg.rst:170 | ||||
#: ../Doc/c-api/arg.rst:186 | ||||
msgid "``U`` (:class:`str`) [PyObject \\*]" | ||||
msgstr "``U`` (:class:`str`) [PyObject \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:168 | ||||
#: ../Doc/c-api/arg.rst:184 | ||||
msgid "" | ||||
"Requires that the Python object is a Unicode object, without attempting any " | ||||
"conversion. Raises :exc:`TypeError` if the object is not a Unicode object. " | ||||
"The C variable may also be declared as :c:type:`PyObject\\*`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:176 | ||||
#: ../Doc/c-api/arg.rst:192 | ||||
msgid "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]" | ||||
msgstr "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:173 | ||||
#: ../Doc/c-api/arg.rst:189 | ||||
msgid "" | ||||
"This format accepts any object which implements the read-write buffer " | ||||
"interface. It fills a :c:type:`Py_buffer` structure provided by the caller. " | ||||
| | @ -368,17 +375,17 @@ msgid "" | |||
"`PyBuffer_Release` when it is done with the buffer." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:193 | ||||
#: ../Doc/c-api/arg.rst:209 | ||||
msgid "``es`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer]" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:179 | ||||
#: ../Doc/c-api/arg.rst:195 | ||||
msgid "" | ||||
"This variant on ``s`` is used for encoding Unicode into a character buffer. " | ||||
"It only works for encoded data without embedded NUL bytes." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:182 | ||||
#: ../Doc/c-api/arg.rst:198 | ||||
msgid "" | ||||
"This format requires two arguments. The first is only used as input, and " | ||||
"must be a :c:type:`const char\\*` which points to the name of an encoding as " | ||||
| | @ -390,7 +397,7 @@ msgid "" | |||
"argument." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:190 | ||||
#: ../Doc/c-api/arg.rst:206 | ||||
msgid "" | ||||
":c:func:`PyArg_ParseTuple` will allocate a buffer of the needed size, copy " | ||||
"the encoded data into this buffer and adjust *\\*buffer* to reference the " | ||||
| | @ -398,33 +405,33 @@ msgid "" | |||
"`PyMem_Free` to free the allocated buffer after use." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:198 | ||||
#: ../Doc/c-api/arg.rst:214 | ||||
msgid "" | ||||
"``et`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char " | ||||
"\\*encoding, char \\*\\*buffer]" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:196 | ||||
#: ../Doc/c-api/arg.rst:212 | ||||
msgid "" | ||||
"Same as ``es`` except that byte string objects are passed through without " | ||||
"recoding them. Instead, the implementation assumes that the byte string " | ||||
"object uses the encoding passed in as parameter." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:229 | ||||
#: ../Doc/c-api/arg.rst:245 | ||||
msgid "" | ||||
"``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, int " | ||||
"\\*buffer_length]" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:201 | ||||
#: ../Doc/c-api/arg.rst:217 | ||||
msgid "" | ||||
"This variant on ``s#`` is used for encoding Unicode into a character buffer. " | ||||
"Unlike the ``es`` format, this variant allows input data which contains NUL " | ||||
"characters." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:205 | ||||
#: ../Doc/c-api/arg.rst:221 | ||||
msgid "" | ||||
"It requires three arguments. The first is only used as input, and must be " | ||||
"a :c:type:`const char\\*` which points to the name of an encoding as a NUL-" | ||||
| | @ -437,11 +444,11 @@ msgid "" | |||
"will be set to the number of bytes in the output buffer." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:215 | ||||
#: ../Doc/c-api/arg.rst:231 | ||||
msgid "There are two modes of operation:" | ||||
msgstr "Il existe deux modes de fonctionnement :" | ||||
| ||||
#: ../Doc/c-api/arg.rst:217 | ||||
#: ../Doc/c-api/arg.rst:233 | ||||
msgid "" | ||||
"If *\\*buffer* points a *NULL* pointer, the function will allocate a buffer " | ||||
"of the needed size, copy the encoded data into this buffer and set *" | ||||
| | @ -450,7 +457,7 @@ msgid "" | |||
"after usage." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:222 | ||||
#: ../Doc/c-api/arg.rst:238 | ||||
msgid "" | ||||
"If *\\*buffer* points to a non-*NULL* pointer (an already allocated " | ||||
"buffer), :c:func:`PyArg_ParseTuple` will use this location as the buffer and " | ||||
| | @ -459,7 +466,7 @@ msgid "" | |||
"the buffer is not large enough, a :exc:`ValueError` will be set." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:228 | ||||
#: ../Doc/c-api/arg.rst:244 | ||||
msgid "" | ||||
"In both cases, *\\*buffer_length* is set to the length of the encoded data " | ||||
"without the trailing NUL byte." | ||||
| | @ -467,28 +474,28 @@ msgstr "" | |||
"Dans les deux cas, *\\*buffer_length* est la longueur des données encodées, " | ||||
"sans l'octet NUL de fin." | ||||
| ||||
#: ../Doc/c-api/arg.rst:234 | ||||
#: ../Doc/c-api/arg.rst:250 | ||||
msgid "" | ||||
"``et#`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char " | ||||
"\\*encoding, char \\*\\*buffer, int \\*buffer_length]" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:232 | ||||
#: ../Doc/c-api/arg.rst:248 | ||||
msgid "" | ||||
"Same as ``es#`` except that byte string objects are passed through without " | ||||
"recoding them. Instead, the implementation assumes that the byte string " | ||||
"object uses the encoding passed in as parameter." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:237 | ||||
#: ../Doc/c-api/arg.rst:253 | ||||
msgid "Numbers" | ||||
msgstr "Les nombres" | ||||
| ||||
#: ../Doc/c-api/arg.rst:241 | ||||
#: ../Doc/c-api/arg.rst:257 | ||||
msgid "``b`` (:class:`int`) [unsigned char]" | ||||
msgstr "``b`` (:class:`int`) [unsigned char]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:240 | ||||
#: ../Doc/c-api/arg.rst:256 | ||||
msgid "" | ||||
"Convert a nonnegative Python integer to an unsigned tiny int, stored in a C :" | ||||
"c:type:`unsigned char`." | ||||
| | @ -496,11 +503,11 @@ msgstr "" | |||
"Convertit un entier Python positif ou nul en un unsigned tiny int, stocké " | ||||
"dans un :c:type:`unsigned char` C." | ||||
| ||||
#: ../Doc/c-api/arg.rst:245 ../Doc/c-api/arg.rst:583 | ||||
#: ../Doc/c-api/arg.rst:261 ../Doc/c-api/arg.rst:600 | ||||
msgid "``B`` (:class:`int`) [unsigned char]" | ||||
msgstr "``B`` (:class:`int`) [unsigned char]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:244 | ||||
#: ../Doc/c-api/arg.rst:260 | ||||
msgid "" | ||||
"Convert a Python integer to a tiny int without overflow checking, stored in " | ||||
"a C :c:type:`unsigned char`." | ||||
| | @ -508,19 +515,19 @@ msgstr "" | |||
"Convertit un entier Python en un tiny int sans vérifier le débordement, " | ||||
"stocké dans un :c:type:`unsigned char` C." | ||||
| ||||
#: ../Doc/c-api/arg.rst:248 ../Doc/c-api/arg.rst:577 | ||||
#: ../Doc/c-api/arg.rst:264 ../Doc/c-api/arg.rst:594 | ||||
msgid "``h`` (:class:`int`) [short int]" | ||||
msgstr "``h`` (:class:`int`) [short int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:248 | ||||
#: ../Doc/c-api/arg.rst:264 | ||||
msgid "Convert a Python integer to a C :c:type:`short int`." | ||||
msgstr "Convertit un entier Python en un :c:type:`short int` C." | ||||
| ||||
#: ../Doc/c-api/arg.rst:252 ../Doc/c-api/arg.rst:586 | ||||
#: ../Doc/c-api/arg.rst:268 ../Doc/c-api/arg.rst:603 | ||||
msgid "``H`` (:class:`int`) [unsigned short int]" | ||||
msgstr "``H`` (:class:`int`) [unsigned short int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:251 | ||||
#: ../Doc/c-api/arg.rst:267 | ||||
msgid "" | ||||
"Convert a Python integer to a C :c:type:`unsigned short int`, without " | ||||
"overflow checking." | ||||
| | @ -528,19 +535,19 @@ msgstr "" | |||
"Convertit un entier Python en un :c:type:`unsigned short int` C, sans " | ||||
"contrôle de débordement." | ||||
| ||||
#: ../Doc/c-api/arg.rst:255 ../Doc/c-api/arg.rst:571 | ||||
#: ../Doc/c-api/arg.rst:271 ../Doc/c-api/arg.rst:588 | ||||
msgid "``i`` (:class:`int`) [int]" | ||||
msgstr "``i`` (:class:`int`) [int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:255 | ||||
#: ../Doc/c-api/arg.rst:271 | ||||
msgid "Convert a Python integer to a plain C :c:type:`int`." | ||||
msgstr "Convertit un entier Python en un :c:type:`int` C." | ||||
| ||||
#: ../Doc/c-api/arg.rst:259 ../Doc/c-api/arg.rst:589 | ||||
#: ../Doc/c-api/arg.rst:275 ../Doc/c-api/arg.rst:606 | ||||
msgid "``I`` (:class:`int`) [unsigned int]" | ||||
msgstr "``I`` (:class:`int`) [unsigned int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:258 | ||||
#: ../Doc/c-api/arg.rst:274 | ||||
msgid "" | ||||
"Convert a Python integer to a C :c:type:`unsigned int`, without overflow " | ||||
"checking." | ||||
| | @ -548,19 +555,19 @@ msgstr "" | |||
"Convertit un entier Python en un :c:type:`unsigned int` C, sans contrôle de " | ||||
"le débordement." | ||||
| ||||
#: ../Doc/c-api/arg.rst:262 ../Doc/c-api/arg.rst:580 | ||||
#: ../Doc/c-api/arg.rst:278 ../Doc/c-api/arg.rst:597 | ||||
msgid "``l`` (:class:`int`) [long int]" | ||||
msgstr "``l`` (:class:`int`) [long int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:262 | ||||
#: ../Doc/c-api/arg.rst:278 | ||||
msgid "Convert a Python integer to a C :c:type:`long int`." | ||||
msgstr "Convertit un entier Python en un :c:type:`long int`." | ||||
| ||||
#: ../Doc/c-api/arg.rst:266 ../Doc/c-api/arg.rst:592 | ||||
#: ../Doc/c-api/arg.rst:282 ../Doc/c-api/arg.rst:609 | ||||
msgid "``k`` (:class:`int`) [unsigned long]" | ||||
msgstr "``k`` (:class:`int`) [unsigned long]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:265 | ||||
#: ../Doc/c-api/arg.rst:281 | ||||
msgid "" | ||||
"Convert a Python integer to a C :c:type:`unsigned long` without overflow " | ||||
"checking." | ||||
| | @ -568,37 +575,37 @@ msgstr "" | |||
"Convertit un entier Python en un :c:type:`unsigned long` C sans en vérifier " | ||||
"le débordement." | ||||
| ||||
#: ../Doc/c-api/arg.rst:269 ../Doc/c-api/arg.rst:595 | ||||
#: ../Doc/c-api/arg.rst:285 ../Doc/c-api/arg.rst:612 | ||||
msgid "``L`` (:class:`int`) [long long]" | ||||
msgstr "``L`` (:class:`int`) [long long]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:269 | ||||
#: ../Doc/c-api/arg.rst:285 | ||||
msgid "Convert a Python integer to a C :c:type:`long long`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:273 ../Doc/c-api/arg.rst:598 | ||||
#: ../Doc/c-api/arg.rst:289 ../Doc/c-api/arg.rst:615 | ||||
msgid "``K`` (:class:`int`) [unsigned long long]" | ||||
msgstr "``K`` (:class:`int`) [unsigned long long]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:272 | ||||
#: ../Doc/c-api/arg.rst:288 | ||||
msgid "" | ||||
"Convert a Python integer to a C :c:type:`unsigned long long` without " | ||||
"overflow checking." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:276 ../Doc/c-api/arg.rst:601 | ||||
#: ../Doc/c-api/arg.rst:292 ../Doc/c-api/arg.rst:618 | ||||
msgid "``n`` (:class:`int`) [Py_ssize_t]" | ||||
msgstr "``n`` (:class:`int`) [Py_ssize_t]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:276 | ||||
#: ../Doc/c-api/arg.rst:292 | ||||
msgid "Convert a Python integer to a C :c:type:`Py_ssize_t`." | ||||
msgstr "Convertit un entier Python en un :c:type:`short int` C." | ||||
| ||||
#: ../Doc/c-api/arg.rst:283 | ||||
#: ../Doc/c-api/arg.rst:299 | ||||
msgid "``c`` (:class:`bytes` or :class:`bytearray` of length 1) [char]" | ||||
msgstr "``c`` (:class:`bytes` ou :class:`bytearray` of length 1) [char]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:279 | ||||
#: ../Doc/c-api/arg.rst:295 | ||||
msgid "" | ||||
"Convert a Python byte, represented as a :class:`bytes` or :class:`bytearray` " | ||||
"object of length 1, to a C :c:type:`char`." | ||||
| | @ -606,15 +613,15 @@ msgstr "" | |||
"Convertit un octet Python, représenté comme un objet :class:`bytes` ou :" | ||||
"class:`bytearray` de longueur 1, en un :c:type:`char` C." | ||||
| ||||
#: ../Doc/c-api/arg.rst:282 | ||||
#: ../Doc/c-api/arg.rst:298 | ||||
msgid "Allow :class:`bytearray` objects." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:287 ../Doc/c-api/arg.rst:609 | ||||
#: ../Doc/c-api/arg.rst:303 ../Doc/c-api/arg.rst:626 | ||||
msgid "``C`` (:class:`str` of length 1) [int]" | ||||
msgstr "``C`` (:class:`str` of length 1) [int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:286 | ||||
#: ../Doc/c-api/arg.rst:302 | ||||
msgid "" | ||||
"Convert a Python character, represented as a :class:`str` object of length " | ||||
"1, to a C :c:type:`int`." | ||||
| | @ -622,41 +629,41 @@ msgstr "" | |||
"Convertit un caractère Python, représenté comme un objet :class:`str` de " | ||||
"longueur 1, en un :c:type:`int` C." | ||||
| ||||
#: ../Doc/c-api/arg.rst:290 ../Doc/c-api/arg.rst:615 | ||||
#: ../Doc/c-api/arg.rst:306 ../Doc/c-api/arg.rst:632 | ||||
msgid "``f`` (:class:`float`) [float]" | ||||
msgstr "``f`` (:class:`float`) [float]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:290 | ||||
#: ../Doc/c-api/arg.rst:306 | ||||
msgid "Convert a Python floating point number to a C :c:type:`float`." | ||||
msgstr "Convertit un nombre flottant Python vers un :c:type:`float`." | ||||
| ||||
#: ../Doc/c-api/arg.rst:293 ../Doc/c-api/arg.rst:612 | ||||
#: ../Doc/c-api/arg.rst:309 ../Doc/c-api/arg.rst:629 | ||||
msgid "``d`` (:class:`float`) [double]" | ||||
msgstr "``d`` (:class:`float`) [double]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:293 | ||||
#: ../Doc/c-api/arg.rst:309 | ||||
msgid "Convert a Python floating point number to a C :c:type:`double`." | ||||
msgstr "Convertit un nombre flottant Python vers un :c:type:`double` C." | ||||
| ||||
#: ../Doc/c-api/arg.rst:296 | ||||
#: ../Doc/c-api/arg.rst:312 | ||||
msgid "``D`` (:class:`complex`) [Py_complex]" | ||||
msgstr "``D`` (:class:`complex`) [Py_complex]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:296 | ||||
#: ../Doc/c-api/arg.rst:312 | ||||
msgid "Convert a Python complex number to a C :c:type:`Py_complex` structure." | ||||
msgstr "" | ||||
"Convertit un nombre complexe Python vers une structure :c:type:`Py_complex` " | ||||
"C." | ||||
| ||||
#: ../Doc/c-api/arg.rst:299 | ||||
#: ../Doc/c-api/arg.rst:315 | ||||
msgid "Other objects" | ||||
msgstr "Autres objets" | ||||
| ||||
#: ../Doc/c-api/arg.rst:304 ../Doc/c-api/arg.rst:626 | ||||
#: ../Doc/c-api/arg.rst:320 ../Doc/c-api/arg.rst:643 | ||||
msgid "``O`` (object) [PyObject \\*]" | ||||
msgstr "``O`` (object) [PyObject \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:302 | ||||
#: ../Doc/c-api/arg.rst:318 | ||||
msgid "" | ||||
"Store a Python object (without any conversion) in a C object pointer. The C " | ||||
"program thus receives the actual object that was passed. The object's " | ||||
| | @ -667,11 +674,11 @@ msgstr "" | |||
"référence sur l'objet n'est pas incrémenté. Le pointeur stocké n'est pas " | ||||
"*NULL*." | ||||
| ||||
#: ../Doc/c-api/arg.rst:311 | ||||
#: ../Doc/c-api/arg.rst:327 | ||||
msgid "``O!`` (object) [*typeobject*, PyObject \\*]" | ||||
msgstr "``O!`` (object) [*typeobject*, PyObject \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:307 | ||||
#: ../Doc/c-api/arg.rst:323 | ||||
msgid "" | ||||
"Store a Python object in a C object pointer. This is similar to ``O``, but " | ||||
"takes two C arguments: the first is the address of a Python type object, the " | ||||
| | @ -680,11 +687,11 @@ msgid "" | |||
"required type, :exc:`TypeError` is raised." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:336 ../Doc/c-api/arg.rst:640 | ||||
#: ../Doc/c-api/arg.rst:352 ../Doc/c-api/arg.rst:657 | ||||
msgid "``O&`` (object) [*converter*, *anything*]" | ||||
msgstr "``O&`` (object) [*converter*, *anything*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:316 | ||||
#: ../Doc/c-api/arg.rst:332 | ||||
msgid "" | ||||
"Convert a Python object to a C variable through a *converter* function. " | ||||
"This takes two arguments: the first is a function, the second is the address " | ||||
| | @ -692,7 +699,7 @@ msgid "" | |||
"*converter* function in turn is called as follows::" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:323 | ||||
#: ../Doc/c-api/arg.rst:339 | ||||
msgid "" | ||||
"where *object* is the Python object to be converted and *address* is the :c:" | ||||
"type:`void\\*` argument that was passed to the :c:func:`PyArg_Parse\\*` " | ||||
| | @ -702,7 +709,7 @@ msgid "" | |||
"*address* unmodified." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:329 | ||||
#: ../Doc/c-api/arg.rst:345 | ||||
msgid "" | ||||
"If the *converter* returns ``Py_CLEANUP_SUPPORTED``, it may get called a " | ||||
"second time if the argument parsing eventually fails, giving the converter a " | ||||
| | @ -711,15 +718,15 @@ msgid "" | |||
"value as in the original call." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:335 | ||||
#: ../Doc/c-api/arg.rst:351 | ||||
msgid "``Py_CLEANUP_SUPPORTED`` was added." | ||||
msgstr "``Py_CLEANUP_SUPPORTED`` à été ajouté." | ||||
| ||||
#: ../Doc/c-api/arg.rst:345 | ||||
#: ../Doc/c-api/arg.rst:361 | ||||
msgid "``p`` (:class:`bool`) [int]" | ||||
msgstr "``p`` (:class:`bool`) [int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:339 | ||||
#: ../Doc/c-api/arg.rst:355 | ||||
msgid "" | ||||
"Tests the value passed in for truth (a boolean **p**\\ redicate) and " | ||||
"converts the result to its equivalent C true/false integer value. Sets the " | ||||
| | @ -728,11 +735,11 @@ msgid "" | |||
"how Python tests values for truth." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:350 ../Doc/c-api/arg.rst:643 | ||||
#: ../Doc/c-api/arg.rst:366 ../Doc/c-api/arg.rst:660 | ||||
msgid "``(items)`` (:class:`tuple`) [*matching-items*]" | ||||
msgstr "``(items)`` (:class:`tuple`) [*matching-items*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:348 | ||||
#: ../Doc/c-api/arg.rst:364 | ||||
msgid "" | ||||
"The object must be a Python sequence whose length is the number of format " | ||||
"units in *items*. The C arguments must correspond to the individual format " | ||||
| | @ -743,7 +750,7 @@ msgstr "" | |||
"chaque unité de format particulière dans *articles*. Les unités de formats " | ||||
"pour les séquences peuvent être imbriquées." | ||||
| ||||
#: ../Doc/c-api/arg.rst:352 | ||||
#: ../Doc/c-api/arg.rst:368 | ||||
msgid "" | ||||
"It is possible to pass \"long\" integers (integers whose value exceeds the " | ||||
"platform's :const:`LONG_MAX`) however no proper range checking is done --- " | ||||
| | @ -752,7 +759,7 @@ msgid "" | |||
"downcasts in C --- your mileage may vary)." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:358 | ||||
#: ../Doc/c-api/arg.rst:374 | ||||
msgid "" | ||||
"A few other characters have a meaning in a format string. These may not " | ||||
"occur inside nested parentheses. They are:" | ||||
| | @ -760,11 +767,11 @@ msgstr "" | |||
"Quelques autres caractères ont un sens dans une chaîne de format. On ne doit " | ||||
"pas les trouvées dans des parenthèses imbriquées. Ce sont :" | ||||
| ||||
#: ../Doc/c-api/arg.rst:366 | ||||
#: ../Doc/c-api/arg.rst:382 | ||||
msgid "``|``" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:362 | ||||
#: ../Doc/c-api/arg.rst:378 | ||||
msgid "" | ||||
"Indicates that the remaining arguments in the Python argument list are " | ||||
"optional. The C variables corresponding to optional arguments should be " | ||||
| | @ -773,11 +780,11 @@ msgid "" | |||
"corresponding C variable(s)." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:375 | ||||
#: ../Doc/c-api/arg.rst:391 | ||||
msgid "``$``" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:369 | ||||
#: ../Doc/c-api/arg.rst:385 | ||||
msgid "" | ||||
":c:func:`PyArg_ParseTupleAndKeywords` only: Indicates that the remaining " | ||||
"arguments in the Python argument list are keyword-only. Currently, all " | ||||
| | @ -785,22 +792,22 @@ msgid "" | |||
"be specified before ``$`` in the format string." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:380 | ||||
#: ../Doc/c-api/arg.rst:396 | ||||
msgid "``:``" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:378 | ||||
#: ../Doc/c-api/arg.rst:394 | ||||
msgid "" | ||||
"The list of format units ends here; the string after the colon is used as " | ||||
"the function name in error messages (the \"associated value\" of the " | ||||
"exception that :c:func:`PyArg_ParseTuple` raises)." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:385 | ||||
#: ../Doc/c-api/arg.rst:401 | ||||
msgid "``;``" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:383 | ||||
#: ../Doc/c-api/arg.rst:399 | ||||
msgid "" | ||||
"The list of format units ends here; the string after the semicolon is used " | ||||
"as the error message *instead* of the default error message. ``:`` and ``;" | ||||
| | @ -810,7 +817,7 @@ msgstr "" | |||
"virgule est utilise comme message d'erreur *au lieu* du message d'erreur par " | ||||
"défaut. ``:`` et ``;`` sont mutuellement exclusifs." | ||||
| ||||
#: ../Doc/c-api/arg.rst:387 | ||||
#: ../Doc/c-api/arg.rst:403 | ||||
msgid "" | ||||
"Note that any Python object references which are provided to the caller are " | ||||
"*borrowed* references; do not decrement their reference count!" | ||||
| | @ -819,7 +826,7 @@ msgstr "" | |||
"à l'appelant sont des références *empruntées* ; ne décrémentez pas leur " | ||||
"compteur de références !" | ||||
| ||||
#: ../Doc/c-api/arg.rst:390 | ||||
#: ../Doc/c-api/arg.rst:406 | ||||
msgid "" | ||||
"Additional arguments passed to these functions must be addresses of " | ||||
"variables whose type is determined by the format string; these are used to " | ||||
| | @ -836,7 +843,7 @@ msgstr "" | |||
"devraient correspondre à ce qui est spécifié pour l'unité de format " | ||||
"correspondante." | ||||
| ||||
#: ../Doc/c-api/arg.rst:396 | ||||
#: ../Doc/c-api/arg.rst:412 | ||||
msgid "" | ||||
"For the conversion to succeed, the *arg* object must match the format and " | ||||
"the format must be exhausted. On success, the :c:func:`PyArg_Parse\\*` " | ||||
| | @ -847,24 +854,24 @@ msgid "" | |||
"untouched." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:405 | ||||
#: ../Doc/c-api/arg.rst:421 | ||||
msgid "API Functions" | ||||
msgstr "Fonction de l'API" | ||||
| ||||
#: ../Doc/c-api/arg.rst:409 | ||||
#: ../Doc/c-api/arg.rst:425 | ||||
msgid "" | ||||
"Parse the parameters of a function that takes only positional parameters " | ||||
"into local variables. Returns true on success; on failure, it returns false " | ||||
"and raises the appropriate exception." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:416 | ||||
#: ../Doc/c-api/arg.rst:432 | ||||
msgid "" | ||||
"Identical to :c:func:`PyArg_ParseTuple`, except that it accepts a va_list " | ||||
"rather than a variable number of arguments." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:422 | ||||
#: ../Doc/c-api/arg.rst:438 | ||||
msgid "" | ||||
"Parse the parameters of a function that takes both positional and keyword " | ||||
"parameters into local variables. The *keywords* argument is a *NULL*-" | ||||
| | @ -873,26 +880,26 @@ msgid "" | |||
"success; on failure, it returns false and raises the appropriate exception." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:429 | ||||
#: ../Doc/c-api/arg.rst:445 | ||||
msgid "" | ||||
"Added support for :ref:`positional-only parameters <positional-" | ||||
"only_parameter>`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:436 | ||||
#: ../Doc/c-api/arg.rst:452 | ||||
msgid "" | ||||
"Identical to :c:func:`PyArg_ParseTupleAndKeywords`, except that it accepts a " | ||||
"va_list rather than a variable number of arguments." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:442 | ||||
#: ../Doc/c-api/arg.rst:458 | ||||
msgid "" | ||||
"Ensure that the keys in the keywords argument dictionary are strings. This " | ||||
"is only needed if :c:func:`PyArg_ParseTupleAndKeywords` is not used, since " | ||||
"the latter already does this check." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:452 | ||||
#: ../Doc/c-api/arg.rst:468 | ||||
msgid "" | ||||
"Function used to deconstruct the argument lists of \"old-style\" functions " | ||||
"--- these are functions which use the :const:`METH_OLDARGS` parameter " | ||||
| | @ -903,7 +910,7 @@ msgid "" | |||
"continue to be used for that purpose." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:463 | ||||
#: ../Doc/c-api/arg.rst:479 | ||||
msgid "" | ||||
"A simpler form of parameter retrieval which does not use a format string to " | ||||
"specify the types of the arguments. Functions which use this method to " | ||||
| | @ -921,23 +928,23 @@ msgid "" | |||
"a failure." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:477 | ||||
#: ../Doc/c-api/arg.rst:493 | ||||
msgid "" | ||||
"This is an example of the use of this function, taken from the sources for " | ||||
"the :mod:`_weakref` helper module for weak references::" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:493 | ||||
#: ../Doc/c-api/arg.rst:509 | ||||
msgid "" | ||||
"The call to :c:func:`PyArg_UnpackTuple` in this example is entirely " | ||||
"equivalent to this call to :c:func:`PyArg_ParseTuple`::" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:501 | ||||
#: ../Doc/c-api/arg.rst:517 | ||||
msgid "Building values" | ||||
msgstr "Construction des valeurs" | ||||
| ||||
#: ../Doc/c-api/arg.rst:505 | ||||
#: ../Doc/c-api/arg.rst:521 | ||||
msgid "" | ||||
"Create a new value based on a format string similar to those accepted by " | ||||
"the :c:func:`PyArg_Parse\\*` family of functions and a sequence of values. " | ||||
| | @ -945,7 +952,7 @@ msgid "" | |||
"raised if *NULL* is returned." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:510 | ||||
#: ../Doc/c-api/arg.rst:526 | ||||
msgid "" | ||||
":c:func:`Py_BuildValue` does not always build a tuple. It builds a tuple " | ||||
"only if its format string contains two or more format units. If the format " | ||||
| | @ -954,7 +961,7 @@ msgid "" | |||
"it to return a tuple of size 0 or one, parenthesize the format string." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:516 | ||||
#: ../Doc/c-api/arg.rst:532 | ||||
msgid "" | ||||
"When memory buffers are passed as parameters to supply data to build " | ||||
"objects, as for the ``s`` and ``s#`` formats, the required data is copied. " | ||||
| | @ -965,7 +972,7 @@ msgid "" | |||
"`Py_BuildValue` returns." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:524 | ||||
#: ../Doc/c-api/arg.rst:540 | ||||
msgid "" | ||||
"In the following description, the quoted form is the format unit; the entry " | ||||
"in (round) parentheses is the Python object type that the format unit will " | ||||
| | @ -973,173 +980,183 @@ msgid "" | |||
"be passed." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:528 | ||||
#: ../Doc/c-api/arg.rst:544 | ||||
msgid "" | ||||
"The characters space, tab, colon and comma are ignored in format strings " | ||||
"(but not within format units such as ``s#``). This can be used to make long " | ||||
"format strings a tad more readable." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:534 | ||||
#: ../Doc/c-api/arg.rst:550 | ||||
msgid "``s`` (:class:`str` or ``None``) [char \\*]" | ||||
msgstr "``s`` (:class:`str` ou ``None``) [char \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:533 | ||||
#: ../Doc/c-api/arg.rst:549 | ||||
msgid "" | ||||
"Convert a null-terminated C string to a Python :class:`str` object using " | ||||
"``'utf-8'`` encoding. If the C string pointer is *NULL*, ``None`` is used." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:539 | ||||
#: ../Doc/c-api/arg.rst:555 | ||||
msgid "``s#`` (:class:`str` or ``None``) [char \\*, int]" | ||||
msgstr "``s#`` (:class:`str` ou ``None``) [char \\*, int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:537 | ||||
#: ../Doc/c-api/arg.rst:553 | ||||
msgid "" | ||||
"Convert a C string and its length to a Python :class:`str` object using " | ||||
"``'utf-8'`` encoding. If the C string pointer is *NULL*, the length is " | ||||
"ignored and ``None`` is returned." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:543 | ||||
#: ../Doc/c-api/arg.rst:559 | ||||
msgid "``y`` (:class:`bytes`) [char \\*]" | ||||
msgstr "``y`` (:class:`bytes`) [char \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:542 | ||||
#: ../Doc/c-api/arg.rst:558 | ||||
msgid "" | ||||
"This converts a C string to a Python :class:`bytes` object. If the C string " | ||||
"pointer is *NULL*, ``None`` is returned." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:547 | ||||
#: ../Doc/c-api/arg.rst:563 | ||||
msgid "``y#`` (:class:`bytes`) [char \\*, int]" | ||||
msgstr "``y#`` (:class:`bytes`) [char \\*, int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:546 | ||||
#: ../Doc/c-api/arg.rst:562 | ||||
msgid "" | ||||
"This converts a C string and its lengths to a Python object. If the C " | ||||
"string pointer is *NULL*, ``None`` is returned." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:550 | ||||
#: ../Doc/c-api/arg.rst:566 | ||||
msgid "``z`` (:class:`str` or ``None``) [char \\*]" | ||||
msgstr "``z`` (:class:`str` ou ``None``) [char \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:550 ../Doc/c-api/arg.rst:565 | ||||
#: ../Doc/c-api/arg.rst:566 ../Doc/c-api/arg.rst:582 | ||||
msgid "Same as ``s``." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:553 | ||||
#: ../Doc/c-api/arg.rst:569 | ||||
msgid "``z#`` (:class:`str` or ``None``) [char \\*, int]" | ||||
msgstr "``z#`` (:class:`str` ou ``None``) [char \\*, int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:553 ../Doc/c-api/arg.rst:568 | ||||
#: ../Doc/c-api/arg.rst:569 ../Doc/c-api/arg.rst:585 | ||||
msgid "Same as ``s#``." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:556 | ||||
#: ../Doc/c-api/arg.rst:574 | ||||
#, fuzzy | ||||
msgid "``u`` (:class:`str`) [wchar_t \\*]" | ||||
msgstr "``s`` (:class:`str`) [const char \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:572 | ||||
msgid "" | ||||
"Convert a null-terminated buffer of Unicode (UCS-2 or UCS-4) data to a " | ||||
"Python Unicode object. If the Unicode buffer pointer is *NULL*, ``None`` is " | ||||
"returned." | ||||
"Convert a null-terminated :c:type:`wchar_t` buffer of Unicode (UTF-16 or " | ||||
"UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is " | ||||
"*NULL*, ``None`` is returned." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:560 | ||||
#: ../Doc/c-api/arg.rst:579 | ||||
#, fuzzy | ||||
msgid "``u#`` (:class:`str`) [wchar_t \\*, int]" | ||||
msgstr "``y#`` (:class:`bytes`) [char \\*, int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:577 | ||||
msgid "" | ||||
"Convert a Unicode (UCS-2 or UCS-4) data buffer and its length to a Python " | ||||
"Convert a Unicode (UTF-16 or UCS-4) data buffer and its length to a Python " | ||||
"Unicode object. If the Unicode buffer pointer is *NULL*, the length is " | ||||
"ignored and ``None`` is returned." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:565 | ||||
#: ../Doc/c-api/arg.rst:582 | ||||
msgid "``U`` (:class:`str` or ``None``) [char \\*]" | ||||
msgstr "``U`` (:class:`str` ou ``None``) [char \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:568 | ||||
#: ../Doc/c-api/arg.rst:585 | ||||
msgid "``U#`` (:class:`str` or ``None``) [char \\*, int]" | ||||
msgstr "``U#`` (:class:`str` ou ``None``) [char \\*, int]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:571 | ||||
#: ../Doc/c-api/arg.rst:588 | ||||
msgid "Convert a plain C :c:type:`int` to a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:574 | ||||
#: ../Doc/c-api/arg.rst:591 | ||||
msgid "``b`` (:class:`int`) [char]" | ||||
msgstr "``b`` (:class:`int`) [char]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:574 | ||||
#: ../Doc/c-api/arg.rst:591 | ||||
msgid "Convert a plain C :c:type:`char` to a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:577 | ||||
#: ../Doc/c-api/arg.rst:594 | ||||
msgid "Convert a plain C :c:type:`short int` to a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:580 | ||||
#: ../Doc/c-api/arg.rst:597 | ||||
msgid "Convert a C :c:type:`long int` to a Python integer object." | ||||
msgstr "Convertit un :c:type:`long int` en un int Python." | ||||
| ||||
#: ../Doc/c-api/arg.rst:583 | ||||
#: ../Doc/c-api/arg.rst:600 | ||||
msgid "Convert a C :c:type:`unsigned char` to a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:586 | ||||
#: ../Doc/c-api/arg.rst:603 | ||||
msgid "Convert a C :c:type:`unsigned short int` to a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:589 | ||||
#: ../Doc/c-api/arg.rst:606 | ||||
msgid "Convert a C :c:type:`unsigned int` to a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:592 | ||||
#: ../Doc/c-api/arg.rst:609 | ||||
msgid "Convert a C :c:type:`unsigned long` to a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:595 | ||||
#: ../Doc/c-api/arg.rst:612 | ||||
msgid "Convert a C :c:type:`long long` to a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:598 | ||||
#: ../Doc/c-api/arg.rst:615 | ||||
msgid "Convert a C :c:type:`unsigned long long` to a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:601 | ||||
#: ../Doc/c-api/arg.rst:618 | ||||
msgid "Convert a C :c:type:`Py_ssize_t` to a Python integer." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:605 | ||||
#: ../Doc/c-api/arg.rst:622 | ||||
msgid "``c`` (:class:`bytes` of length 1) [char]" | ||||
msgstr "``c`` (:class:`bytes` de taille 1) [char]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:604 | ||||
#: ../Doc/c-api/arg.rst:621 | ||||
msgid "" | ||||
"Convert a C :c:type:`int` representing a byte to a Python :class:`bytes` " | ||||
"object of length 1." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:608 | ||||
#: ../Doc/c-api/arg.rst:625 | ||||
msgid "" | ||||
"Convert a C :c:type:`int` representing a character to Python :class:`str` " | ||||
"object of length 1." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:612 | ||||
#: ../Doc/c-api/arg.rst:629 | ||||
msgid "Convert a C :c:type:`double` to a Python floating point number." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:615 | ||||
#: ../Doc/c-api/arg.rst:632 | ||||
msgid "Convert a C :c:type:`float` to a Python floating point number." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:618 | ||||
#: ../Doc/c-api/arg.rst:635 | ||||
msgid "``D`` (:class:`complex`) [Py_complex \\*]" | ||||
msgstr "``D`` (:class:`complex`) [Py_complex \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:618 | ||||
#: ../Doc/c-api/arg.rst:635 | ||||
msgid "Convert a C :c:type:`Py_complex` structure to a Python complex number." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:621 | ||||
#: ../Doc/c-api/arg.rst:638 | ||||
msgid "" | ||||
"Pass a Python object untouched (except for its reference count, which is " | ||||
"incremented by one). If the object passed in is a *NULL* pointer, it is " | ||||
| | @ -1149,26 +1166,26 @@ msgid "" | |||
"yet, :exc:`SystemError` is set." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:629 | ||||
#: ../Doc/c-api/arg.rst:646 | ||||
msgid "``S`` (object) [PyObject \\*]" | ||||
msgstr "``S`` (object) [PyObject \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:629 | ||||
#: ../Doc/c-api/arg.rst:646 | ||||
msgid "Same as ``O``." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:634 | ||||
#: ../Doc/c-api/arg.rst:651 | ||||
msgid "``N`` (object) [PyObject \\*]" | ||||
msgstr "``N`` (object) [PyObject \\*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:632 | ||||
#: ../Doc/c-api/arg.rst:649 | ||||
msgid "" | ||||
"Same as ``O``, except it doesn't increment the reference count on the " | ||||
"object. Useful when the object is created by a call to an object constructor " | ||||
"in the argument list." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:637 | ||||
#: ../Doc/c-api/arg.rst:654 | ||||
msgid "" | ||||
"Convert *anything* to a Python object through a *converter* function. The " | ||||
"function is called with *anything* (which should be compatible with :c:type:" | ||||
| | @ -1176,40 +1193,40 @@ msgid "" | |||
"*NULL* if an error occurred." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:643 | ||||
#: ../Doc/c-api/arg.rst:660 | ||||
msgid "" | ||||
"Convert a sequence of C values to a Python tuple with the same number of " | ||||
"items." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:646 | ||||
#: ../Doc/c-api/arg.rst:663 | ||||
msgid "``[items]`` (:class:`list`) [*matching-items*]" | ||||
msgstr "``[items]`` (:class:`list`) [*matching-items*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:646 | ||||
#: ../Doc/c-api/arg.rst:663 | ||||
msgid "" | ||||
"Convert a sequence of C values to a Python list with the same number of " | ||||
"items." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:651 | ||||
#: ../Doc/c-api/arg.rst:668 | ||||
msgid "``{items}`` (:class:`dict`) [*matching-items*]" | ||||
msgstr "``{items}`` (:class:`dict`) [*matching-items*]" | ||||
| ||||
#: ../Doc/c-api/arg.rst:649 | ||||
#: ../Doc/c-api/arg.rst:666 | ||||
msgid "" | ||||
"Convert a sequence of C values to a Python dictionary. Each pair of " | ||||
"consecutive C values adds one item to the dictionary, serving as key and " | ||||
"value, respectively." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:653 | ||||
#: ../Doc/c-api/arg.rst:670 | ||||
msgid "" | ||||
"If there is an error in the format string, the :exc:`SystemError` exception " | ||||
"is set and *NULL* returned." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/arg.rst:658 | ||||
#: ../Doc/c-api/arg.rst:675 | ||||
msgid "" | ||||
"Identical to :c:func:`Py_BuildValue`, except that it accepts a va_list " | ||||
"rather than a variable number of arguments." | ||||
| | | |||
| | @ -8,7 +8,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-04-02 22:11+0200\n" | ||||
"POT-Creation-Date: 2018-04-29 00:24+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||||
| | @ -622,33 +622,44 @@ msgstr "" | |||
| ||||
#: ../Doc/c-api/buffer.rst:478 | ||||
msgid "" | ||||
"Copy *len* bytes from *src* to its contiguous representation in *buf*. " | ||||
"*order* can be ``'C'`` or ``'F'`` (for C-style or Fortran-style ordering). " | ||||
"``0`` is returned on success, ``-1`` on error." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/buffer.rst:482 | ||||
msgid "This function fails if *len* != *src->len*." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/buffer.rst:487 | ||||
msgid "" | ||||
"Fill the *strides* array with byte-strides of a :term:`contiguous` (C-style " | ||||
"if *order* is ``'C'`` or Fortran-style if *order* is ``'F'``) array of the " | ||||
"given shape with the given number of bytes per element." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/buffer.rst:485 | ||||
#: ../Doc/c-api/buffer.rst:494 | ||||
msgid "" | ||||
"Handle buffer requests for an exporter that wants to expose *buf* of size " | ||||
"*len* with writability set according to *readonly*. *buf* is interpreted as " | ||||
"a sequence of unsigned bytes." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/buffer.rst:489 | ||||
#: ../Doc/c-api/buffer.rst:498 | ||||
msgid "" | ||||
"The *flags* argument indicates the request type. This function always fills " | ||||
"in *view* as specified by flags, unless *buf* has been designated as read-" | ||||
"only and :c:macro:`PyBUF_WRITABLE` is set in *flags*." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/buffer.rst:493 | ||||
#: ../Doc/c-api/buffer.rst:502 | ||||
msgid "" | ||||
"On success, set :c:member:`view->obj` to a new reference to *exporter* and " | ||||
"return 0. Otherwise, raise :c:data:`PyExc_BufferError`, set :c:member:`view-" | ||||
">obj` to *NULL* and return ``-1``;" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/buffer.rst:497 | ||||
#: ../Doc/c-api/buffer.rst:506 | ||||
msgid "" | ||||
"If this function is used as part of a :ref:`getbufferproc <buffer-structs>`, " | ||||
"*exporter* MUST be set to the exporting object and *flags* must be passed " | ||||
| | | |||
Loading…
Add table
Add a link
Reference in a new issue