From 1177296be6bd8301b075037a7db37b5dd430cbe6 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Mon, 5 Jun 2017 21:57:45 +0200 Subject: [PATCH] Some work on stdtypes. --- library/stdtypes.po | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/library/stdtypes.po b/library/stdtypes.po index 48c0c2d2..b149c9a1 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-27 19:40+0200\n" -"PO-Revision-Date: 2017-05-28 23:44+0200\n" +"PO-Revision-Date: 2017-06-05 21:57+0200\n" "Last-Translator: Julien Palard \n" "Language-Team: \n" "Language: fr\n" @@ -5833,28 +5833,37 @@ msgid "" "To illustrate, the following examples all return a dictionary equal to " "``{\"one\": 1, \"two\": 2, \"three\": 3}``::" msgstr "" +"Typiquement, les exemples suivants renvoient tous un dictionnaire valant " +"``{\"one\": 1, \"two\": 2, \"three\": 3}`` : ::" #: ../Doc/library/stdtypes.rst:4055 msgid "" "Providing keyword arguments as in the first example only works for keys that " "are valid Python identifiers. Otherwise, any valid keys can be used." msgstr "" +"Fournir les arguments nommés comme dans le premier exemple en fonctionne que " +"pour des clefs qui sont des identifiants valide en Python. Dans les autres " +"cas, toutes les clefs valides sont utilisables." #: ../Doc/library/stdtypes.rst:4059 msgid "" "These are the operations that dictionaries support (and therefore, custom " "mapping types should support too):" msgstr "" +"Voici les opérations gérées par les dictionnaires, (par conséquent, d'autres " +"types de *mapping* peuvent les gérer aussi) :" #: ../Doc/library/stdtypes.rst:4064 msgid "Return the number of items in the dictionary *d*." -msgstr "" +msgstr "Renvoie le nombre d'éléments dans le dictionnaire *d*." #: ../Doc/library/stdtypes.rst:4068 msgid "" "Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is " "not in the map." msgstr "" +"Donne l'élément de *d* dont la clef est *key*. Lève une exception :exc:" +"`KeyError` si *key* n'est pas dans le dictionnaire." #: ../Doc/library/stdtypes.rst:4073 msgid ""