@@ -105840,6 +105840,11 @@ msgid ""
105840
105840
"provided to make it easier to correctly implement these operations on custom "
105841
105841
"sequence types."
105842
105842
msgstr ""
105843
+ "Les opérations dans le tableau ci-dessous sont pris en charge par la "
105844
+ "plupart des types séquentiels, variables et immuables. La classe de base "
105845
+ "abstraite :class:`collections.abc.Sequence` est fournie pour aider à "
105846
+ "implémenter correctement ces opérations sur les types "
105847
+ "séquentiels personnalisés."
105843
105848
105844
105849
#: ../Doc/library/stdtypes.rst:822
105845
105850
msgid ""
@@ -105848,37 +105853,45 @@ msgid ""
105848
105853
"are integers and *x* is an arbitrary object that meets any type and value "
105849
105854
"restrictions imposed by *s*."
105850
105855
msgstr ""
105856
+ "Ce tableau répertorie les opérations sur les séquences triées par priorité "
105857
+ "ascendante. Dans le tableau, *s,* et *t* sont des séquences du même type, "
105858
+ "*n*, *i*, *j* et *k* sont des nombres entiers et *x* est un objet arbitraire "
105859
+ "qui répond à toutes les restrictions de type et de valeur imposée par *s*."
105851
105860
105852
105861
#: ../Doc/library/stdtypes.rst:827
105853
105862
msgid ""
105854
105863
"The ``in`` and ``not in`` operations have the same priorities as the "
105855
105864
"comparison operations. The ``+`` (concatenation) and ``*`` (repetition) "
105856
105865
"operations have the same priority as the corresponding numeric operations."
105857
105866
msgstr ""
105867
+ "Les opérations ``in`` et ``not in`` ont les mêmes priorités que les "
105868
+ "opérations de comparaison. Les opérations ``+`` (concaténation) et ``*`` "
105869
+ "(répétition) ont la même priorité que les opérations numériques "
105870
+ "correspondantes."
105858
105871
105859
105872
#: ../Doc/library/stdtypes.rst:848
105860
105873
msgid "``x in s``"
105861
105874
msgstr "``x in s``"
105862
105875
105863
105876
#: ../Doc/library/stdtypes.rst:848
105864
105877
msgid "``True`` if an item of *s* is equal to *x*, else ``False``"
105865
- msgstr ""
105878
+ msgstr "``True`` si un élément de *s* est égal à *x*, sinon ``False`` "
105866
105879
105867
105880
#: ../Doc/library/stdtypes.rst:851
105868
105881
msgid "``x not in s``"
105869
105882
msgstr "``x not in s``"
105870
105883
105871
105884
#: ../Doc/library/stdtypes.rst:851
105872
105885
msgid "``False`` if an item of *s* is equal to *x*, else ``True``"
105873
- msgstr ""
105886
+ msgstr "``False`` si un élément de *s* est égal à *x*, sinon ``True`` "
105874
105887
105875
105888
#: ../Doc/library/stdtypes.rst:854
105876
105889
msgid "``s + t``"
105877
105890
msgstr "``s + t``"
105878
105891
105879
105892
#: ../Doc/library/stdtypes.rst:854
105880
105893
msgid "the concatenation of *s* and *t*"
105881
- msgstr ""
105894
+ msgstr "la concaténation de *s* et *t* "
105882
105895
105883
105896
#: ../Doc/library/stdtypes.rst:854
105884
105897
msgid "(6)(7)"
@@ -105890,7 +105903,7 @@ msgstr "``s * n`` or ``n * s``"
105890
105903
105891
105904
#: ../Doc/library/stdtypes.rst:857
105892
105905
msgid "equivalent to adding *s* to itself *n* times"
105893
- msgstr ""
105906
+ msgstr "équivalent à ajouter *s* *n* fois à lui même "
105894
105907
105895
105908
#: ../Doc/library/stdtypes.rst:857
105896
105909
msgid "(2)(7)"
@@ -105902,15 +105915,15 @@ msgstr "``s[i]``"
105902
105915
105903
105916
#: ../Doc/library/stdtypes.rst:860
105904
105917
msgid "*i*\\ th item of *s*, origin 0"
105905
- msgstr ""
105918
+ msgstr "*i*ème élément de *s* en commençant par 0 "
105906
105919
105907
105920
#: ../Doc/library/stdtypes.rst:862
105908
105921
msgid "``s[i:j]``"
105909
105922
msgstr "``s[i:j]``"
105910
105923
105911
105924
#: ../Doc/library/stdtypes.rst:862
105912
105925
msgid "slice of *s* from *i* to *j*"
105913
- msgstr ""
105926
+ msgstr "tranche (*slice*) de *s* de *i* à *j* "
105914
105927
105915
105928
#: ../Doc/library/stdtypes.rst:862
105916
105929
msgid "(3)(4)"
@@ -105922,7 +105935,7 @@ msgstr "``s[i:j:k]``"
105922
105935
105923
105936
#: ../Doc/library/stdtypes.rst:864
105924
105937
msgid "slice of *s* from *i* to *j* with step *k*"
105925
- msgstr ""
105938
+ msgstr "tranche (*slice*) de *s* de *i* à *j* avec un pas de *k* "
105926
105939
105927
105940
#: ../Doc/library/stdtypes.rst:864
105928
105941
msgid "(3)(5)"
@@ -105934,23 +105947,23 @@ msgstr "``len(s)``"
105934
105947
105935
105948
#: ../Doc/library/stdtypes.rst:867
105936
105949
msgid "length of *s*"
105937
- msgstr ""
105950
+ msgstr "longueur de *s* "
105938
105951
105939
105952
#: ../Doc/library/stdtypes.rst:869
105940
105953
msgid "``min(s)``"
105941
105954
msgstr "``min(s)``"
105942
105955
105943
105956
#: ../Doc/library/stdtypes.rst:869
105944
105957
msgid "smallest item of *s*"
105945
- msgstr ""
105958
+ msgstr "plus petit élément de *s* "
105946
105959
105947
105960
#: ../Doc/library/stdtypes.rst:871
105948
105961
msgid "``max(s)``"
105949
105962
msgstr "``max(s)``"
105950
105963
105951
105964
#: ../Doc/library/stdtypes.rst:871
105952
105965
msgid "largest item of *s*"
105953
- msgstr ""
105966
+ msgstr "plus grand élément de *s* "
105954
105967
105955
105968
#: ../Doc/library/stdtypes.rst:873
105956
105969
msgid "``s.index(x[, i[, j]])``"
@@ -105961,6 +105974,8 @@ msgid ""
105961
105974
"index of the first occurrence of *x* in *s* (at or after index *i* and "
105962
105975
"before index *j*)"
105963
105976
msgstr ""
105977
+ "indice de la première occurrence de *x* dans *s* (à ou après l'indice *i* et "
105978
+ "avant indice *j*)"
105964
105979
105965
105980
#: ../Doc/library/stdtypes.rst:873 ../Doc/library/stdtypes.rst:3249
105966
105981
msgid "\\(8)"
@@ -105972,7 +105987,7 @@ msgstr "``s.count(x)``"
105972
105987
105973
105988
#: ../Doc/library/stdtypes.rst:877
105974
105989
msgid "total number of occurrences of *x* in *s*"
105975
- msgstr ""
105990
+ msgstr "nombre total d'occurrences de *x* dans *s* "
105976
105991
105977
105992
#: ../Doc/library/stdtypes.rst:881
105978
105993
msgid ""
@@ -105982,6 +105997,12 @@ msgid ""
105982
105997
"and the two sequences must be of the same type and have the same length. "
105983
105998
"(For full details see :ref:`comparisons` in the language reference.)"
105984
105999
msgstr ""
106000
+ "Les séquences du même type supportent également la comparaison. En "
106001
+ "particulier, les *tuples* et les listes sont comparées lexicographiquement "
106002
+ "en comparant les éléments correspondants. Cela signifie que pour être "
106003
+ "égales, chaques éléments doivent être égaux deux à deux et les deux "
106004
+ "séquences doivent être dumême type et de la même longueur. (Pour plus de "
106005
+ "détails voir :ref:`comparisons` dans la référence du langage.)"
105985
106006
105986
106007
#: ../Doc/library/stdtypes.rst:890
105987
106008
msgid ""
@@ -105990,6 +106011,11 @@ msgid ""
105990
106011
"as :class:`str`, :class:`bytes` and :class:`bytearray`) also use them for "
105991
106012
"subsequence testing::"
105992
106013
msgstr ""
106014
+ "Bien que les opérations ``in`` et ``not in`` ne soient généralement "
106015
+ "utilisées que pourles tests d'appartenance simple, certaines séquences "
106016
+ "spécialisées (telles que :class:`str`, :classe:`bytes` et :classe:"
106017
+ "`bytearray`) les utilisent aussi pour tester l'existence de sous-"
106018
+ "séquences : ::"
105993
106019
105994
106020
#: ../Doc/library/stdtypes.rst:899
105995
106021
msgid ""
0 commit comments