From 200298c7691e0f0b78b7e879fcf7fc4909cea16a Mon Sep 17 00:00:00 2001 From: C-Duv Date: Fri, 11 Oct 2013 10:13:12 +0200 Subject: French translation typo in comments for slice syntax with omitted indexes Translation typo in comments for slice syntax with omitted indexes: "Omit the beginning" meant omit the beginning *of the list* (not the beginning of the range) "Omit the end" meant omit the end *of the list* (not the end of the range) --- fr-fr/python-fr.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fr-fr') diff --git a/fr-fr/python-fr.html.markdown b/fr-fr/python-fr.html.markdown index 2bf0afd0..9dbdafe1 100644 --- a/fr-fr/python-fr.html.markdown +++ b/fr-fr/python-fr.html.markdown @@ -156,9 +156,9 @@ li[4] # Lève un 'IndexError' # On peut accèder à des rangs de valeurs avec la syntaxe "slice" # (C'est un rang de type 'fermé/ouvert' pour les plus matheux) li[1:3] #=> [2, 4] -# Sans spécifier de début de rang +# Sans spécifier de fin de rang, on "saute" le début de la liste li[2:] #=> [4, 3] -# Sans spécifier de fin de rang +# Sans spécifier de début de rang, on "saute" la fin de la liste li[:3] #=> [1, 2, 4] # Retirer un élément spécifique dee la liste avec "del" -- cgit v1.2.3