Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76b5c8e

Browse files
Make merge (#1782)
Co-authored-by: Christophe Nanteuil <[email protected]>
1 parent 99ffbb6 commit 76b5c8e

35 files changed

+4065
-3782
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# from which we generated our po files. We use it here so when we
2121
# test build, we're building with the .rst files that generated our
2222
# .po files.
23-
CPYTHON_CURRENT_COMMIT := 75ed2ce9e86a7f213fa54e6f8cbbb3ab6f25b5a2
23+
CPYTHON_CURRENT_COMMIT := 57100c86baa8451a568348646834380cd425b858
2424
LANGUAGE := fr
2525
BRANCH := 3.10
2626

c-api/iter.po

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2021-09-23 16:16+0200\n"
8+
"POT-Creation-Date: 2021-11-27 10:27+0100\n"
99
"PO-Revision-Date: 2018-02-15 00:33+0100\n"
1010
"Last-Translator: Julien Palard <[email protected]>\n"
1111
"Language-Team: FRENCH <[email protected]>\n"
@@ -25,8 +25,8 @@ msgstr "Il existe deux fonctions dédiées à l'interaction avec les itérateurs
2525
#: c-api/iter.rst:12
2626
#, fuzzy
2727
msgid ""
28-
"Return non-zero if the object *o* supports the iterator protocol, and ``0`` "
29-
"otherwise. This function always succeeds."
28+
"Return non-zero if the object *o* can be safely passed to :c:func:"
29+
"`PyIter_Next`, and ``0`` otherwise. This function always succeeds."
3030
msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération."
3131

3232
#: c-api/iter.rst:17
@@ -39,45 +39,46 @@ msgstr "Renvoie vrai si l'objet *o* supporte le protocole d'itération."
3939
#: c-api/iter.rst:24
4040
#, fuzzy
4141
msgid ""
42-
"Return the next value from the iteration *o*. The object must be an "
43-
"iterator (it is up to the caller to check this). If there are no remaining "
44-
"values, returns ``NULL`` with no exception set. If an error occurs while "
45-
"retrieving the item, returns ``NULL`` and passes along the exception."
42+
"Return the next value from the iterator *o*. The object must be an iterator "
43+
"according to :c:func:`PyIter_Check` (it is up to the caller to check this). "
44+
"If there are no remaining values, returns ``NULL`` with no exception set. If "
45+
"an error occurs while retrieving the item, returns ``NULL`` and passes along "
46+
"the exception."
4647
msgstr ""
4748
"Renvoie la valeur suivante d'une itération de *o*. L'objet doit être un "
4849
"itérateur (c'est à l'appelant de faire cette vérification). Renvoie *NULL* "
4950
"s'il n'y a plus de valeurs, sans déclarer d'exception. Renvoie *NULL* en "
5051
"déclarant une exception si une erreur survient lors de la récupération d'un "
5152
"élément."
5253

53-
#: c-api/iter.rst:29
54+
#: c-api/iter.rst:30
5455
msgid ""
5556
"To write a loop which iterates over an iterator, the C code should look "
5657
"something like this::"
5758
msgstr ""
5859
"Pour écrire une boucle itérant un itérateur, le code C devrait ressembler "
5960
"à ::"
6061

61-
#: c-api/iter.rst:58
62+
#: c-api/iter.rst:59
6263
msgid ""
6364
"The enum value used to represent different results of :c:func:`PyIter_Send`."
6465
msgstr ""
6566

66-
#: c-api/iter.rst:65
67+
#: c-api/iter.rst:66
6768
msgid "Sends the *arg* value into the iterator *iter*. Returns:"
6869
msgstr ""
6970

70-
#: c-api/iter.rst:67
71+
#: c-api/iter.rst:68
7172
msgid ""
7273
"``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*."
7374
msgstr ""
7475

75-
#: c-api/iter.rst:68
76+
#: c-api/iter.rst:69
7677
msgid ""
7778
"``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
7879
msgstr ""
7980

80-
#: c-api/iter.rst:69
81+
#: c-api/iter.rst:70
8182
msgid ""
8283
"``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to "
8384
"``NULL``."

c-api/typeobj.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2021-11-04 18:14+0100\n"
8+
"POT-Creation-Date: 2021-11-27 10:27+0100\n"
99
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: FRENCH <[email protected]>\n"
@@ -2282,9 +2282,9 @@ msgstr ""
22822282

22832283
#: c-api/typeobj.rst:1523
22842284
msgid ""
2285-
"An optional pointer to a function that returns an iterator for the object. "
2286-
"Its presence normally signals that the instances of this type are iterable "
2287-
"(although sequences may be iterable without this function)."
2285+
"An optional pointer to a function that returns an :term:`iterator` for the "
2286+
"object. Its presence normally signals that the instances of this type are :"
2287+
"term:`iterable` (although sequences may be iterable without this function)."
22882288
msgstr ""
22892289

22902290
#: c-api/typeobj.rst:1527
@@ -2293,8 +2293,8 @@ msgstr ""
22932293

22942294
#: c-api/typeobj.rst:1538
22952295
msgid ""
2296-
"An optional pointer to a function that returns the next item in an iterator. "
2297-
"The signature is::"
2296+
"An optional pointer to a function that returns the next item in an :term:"
2297+
"`iterator`. The signature is::"
22982298
msgstr ""
22992299

23002300
#: c-api/typeobj.rst:1543
@@ -3174,8 +3174,8 @@ msgstr ""
31743174

31753175
#: c-api/typeobj.rst:2431
31763176
msgid ""
3177-
"The returned object must be an iterator, i.e. :c:func:`PyIter_Check` must "
3178-
"return ``1`` for it."
3177+
"The returned object must be an :term:`iterator`, i.e. :c:func:`PyIter_Check` "
3178+
"must return ``1`` for it."
31793179
msgstr ""
31803180

31813181
#: c-api/typeobj.rst:2434

0 commit comments

Comments
 (0)