forked from AFPy/python-docs-fr
Translated library/operator.po (v.2) (#451)
This commit is contained in:
parent f79fbfa4e4
commit ca2e05b63e
1 changed files with 161 additions and 76 deletions
| | @ -6,17 +6,18 @@ msgstr "" | |||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2018-06-28 15:29+0200\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"PO-Revision-Date: 2018-12-11 22:46+0100\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
"MIME-Version: 1.0\n" | ||||
"Content-Type: text/plain; charset=UTF-8\n" | ||||
"Content-Transfer-Encoding: 8bit\n" | ||||
"Last-Translator: Antoine Wecxsteen\n" | ||||
"X-Generator: Poedit 2.0.6\n" | ||||
| ||||
#: ../Doc/library/operator.rst:2 | ||||
msgid ":mod:`operator` --- Standard operators as functions" | ||||
msgstr "" | ||||
msgstr ":mod:`operator` — Opérateurs standards en tant que fonctions" | ||||
| ||||
#: ../Doc/library/operator.rst:9 | ||||
msgid "**Source code:** :source:`Lib/operator.py`" | ||||
| | @ -32,18 +33,30 @@ msgid "" | |||
"underscores kept. The variants without the double underscores are preferred " | ||||
"for clarity." | ||||
msgstr "" | ||||
"Le module :mod:`operator` fournit un ensemble de fonctions correspondant aux " | ||||
"opérateurs natifs de Python. Par exemple, ``operator.add(x, y)`` correspond " | ||||
"à l'expression ``x+y``. Les noms de la plupart de ces fonctions sont ceux " | ||||
"utilisés par les méthodes spéciales, sans les doubles tirets bas. Pour " | ||||
"assurer la rétrocompatibilité, la plupart de ces noms ont une variante " | ||||
"*avec* les doubles tirets bas ; la forme simple est cependant à privilégier " | ||||
"pour des raisons de clarté." | ||||
| ||||
#: ../Doc/library/operator.rst:25 | ||||
msgid "" | ||||
"The functions fall into categories that perform object comparisons, logical " | ||||
"operations, mathematical operations and sequence operations." | ||||
msgstr "" | ||||
"Les fonctions sont divisées en différentes catégories selon l'opération " | ||||
"effectuée : comparaison entre objets, opérations logiques, opérations " | ||||
"mathématiques ou opérations sur séquences." | ||||
| ||||
#: ../Doc/library/operator.rst:28 | ||||
msgid "" | ||||
"The object comparison functions are useful for all objects, and are named " | ||||
"after the rich comparison operators they support:" | ||||
msgstr "" | ||||
"Les fonctions de comparaison s'appliquent à tous les objets, et leur nom " | ||||
"vient des opérateurs de comparaison qu'elles implémentent :" | ||||
| ||||
#: ../Doc/library/operator.rst:45 | ||||
msgid "" | ||||
| | @ -55,12 +68,21 @@ msgid "" | |||
"which may or may not be interpretable as a Boolean value. See :ref:" | ||||
"`comparisons` for more information about rich comparisons." | ||||
msgstr "" | ||||
"Effectue une « comparaison riche » entre *a* et *b*. Plus précisément, " | ||||
"``lt(a, b)`` équivaut à ``a < b``, ``le(a, b)`` équivaut à ``a <= b``, " | ||||
"``eq(a, b)`` équivaut à ``a == b``, ``ne(a, b)`` équivaut à ``a != b``, " | ||||
"``gt(a, b)`` équivaut à ``a > b`` et ``ge(a, b)`` équivaut à ``a >= b``. " | ||||
"Notez que ces fonctions peuvent renvoyer n'importe quelle valeur, " | ||||
"convertible ou non en booléen. Voir :ref:`comparisons` pour plus " | ||||
"d'informations sur les méthodes de comparaison riches." | ||||
| ||||
#: ../Doc/library/operator.rst:54 | ||||
msgid "" | ||||
"The logical operations are also generally applicable to all objects, and " | ||||
"support truth tests, identity tests, and boolean operations:" | ||||
msgstr "" | ||||
"En général, les opérations logiques s'appliquent aussi à tous les objets et " | ||||
"implémentent les tests de vérité, d'identité et les opérations booléennes :" | ||||
| ||||
#: ../Doc/library/operator.rst:61 | ||||
msgid "" | ||||
| | @ -69,24 +91,33 @@ msgid "" | |||
"this operation. The result is affected by the :meth:`__bool__` and :meth:" | ||||
"`__len__` methods.)" | ||||
msgstr "" | ||||
"Renvoie le résultat de :keyword:`not` *obj*. (Notez qu'il n'existe pas de " | ||||
"méthode :meth:`__not__` pour les instances d'objet; seul le cœur de " | ||||
"l'interpréteur définit cette opération. Le résultat dépend des méthodes :" | ||||
"meth:`__bool__` et :meth:`__len__`.)" | ||||
| ||||
#: ../Doc/library/operator.rst:69 | ||||
msgid "" | ||||
"Return :const:`True` if *obj* is true, and :const:`False` otherwise. This " | ||||
"is equivalent to using the :class:`bool` constructor." | ||||
msgstr "" | ||||
"Renvoie :const:`True` si *obj* est vrai, et :const:`False` dans le cas " | ||||
"contraire. Équivaut à utiliser le constructeur de :class:`bool`." | ||||
| ||||
#: ../Doc/library/operator.rst:75 | ||||
msgid "Return ``a is b``. Tests object identity." | ||||
msgstr "" | ||||
"Renvoie ``a is b``. Vérifie si les deux paramètres sont le même objet." | ||||
| ||||
#: ../Doc/library/operator.rst:80 | ||||
msgid "Return ``a is not b``. Tests object identity." | ||||
msgstr "" | ||||
"Renvoie ``a is not b``. Vérifie si les deux paramètres sont deux objets " | ||||
"distincts." | ||||
| ||||
#: ../Doc/library/operator.rst:83 | ||||
msgid "The mathematical and bitwise operations are the most numerous:" | ||||
msgstr "" | ||||
msgstr "Les opérations mathématiques ou bit à bit sont les plus nombreuses :" | ||||
| ||||
#: ../Doc/library/operator.rst:89 | ||||
msgid "Return the absolute value of *obj*." | ||||
| | @ -94,109 +125,114 @@ msgstr "Renvoie la valeur absolue de *obj*." | |||
| ||||
#: ../Doc/library/operator.rst:95 | ||||
msgid "Return ``a + b``, for *a* and *b* numbers." | ||||
msgstr "" | ||||
msgstr "Renvoie ``a + b`` où *a* et *b* sont des nombres." | ||||
| ||||
#: ../Doc/library/operator.rst:101 | ||||
msgid "Return the bitwise and of *a* and *b*." | ||||
msgstr "" | ||||
msgstr "Renvoie le *et* bit à bit de *a* et *b*." | ||||
| ||||
#: ../Doc/library/operator.rst:107 | ||||
msgid "Return ``a // b``." | ||||
msgstr "" | ||||
msgstr "Renvoie ``a // b``." | ||||
| ||||
#: ../Doc/library/operator.rst:113 | ||||
msgid "Return *a* converted to an integer. Equivalent to ``a.__index__()``." | ||||
msgstr "" | ||||
msgstr "Renvoie *a* converti en entier. Équivaut à ``a.__index__()``." | ||||
| ||||
#: ../Doc/library/operator.rst:121 | ||||
msgid "" | ||||
"Return the bitwise inverse of the number *obj*. This is equivalent to " | ||||
"``~obj``." | ||||
msgstr "" | ||||
msgstr "Renvoie l'inverse bit à bit du nombre *obj*. Équivaut à ``~obj``." | ||||
| ||||
#: ../Doc/library/operator.rst:127 | ||||
msgid "Return *a* shifted left by *b*." | ||||
msgstr "" | ||||
msgstr "Renvoie le décalage de *b* bits vers la gauche de *a*." | ||||
| ||||
#: ../Doc/library/operator.rst:133 | ||||
msgid "Return ``a % b``." | ||||
msgstr "" | ||||
msgstr "Renvoie``a % b``." | ||||
| ||||
#: ../Doc/library/operator.rst:139 | ||||
msgid "Return ``a * b``, for *a* and *b* numbers." | ||||
msgstr "" | ||||
msgstr "Renvoie ``a * b`` où *a* et *b* sont des nombres." | ||||
| ||||
#: ../Doc/library/operator.rst:145 | ||||
msgid "Return ``a @ b``." | ||||
msgstr "" | ||||
msgstr "Renvoie ``a @ b``." | ||||
| ||||
#: ../Doc/library/operator.rst:153 | ||||
msgid "Return *obj* negated (``-obj``)." | ||||
msgstr "" | ||||
msgstr "Renvoie l'opposé de *obj* (``-obj``)." | ||||
| ||||
#: ../Doc/library/operator.rst:159 | ||||
msgid "Return the bitwise or of *a* and *b*." | ||||
msgstr "" | ||||
msgstr "Renvoie le *ou* bit à bit de *a* et *b*." | ||||
| ||||
#: ../Doc/library/operator.rst:165 | ||||
msgid "Return *obj* positive (``+obj``)." | ||||
msgstr "" | ||||
msgstr "Renvoie la valeur positive de *obj* (``+obj``)." | ||||
| ||||
#: ../Doc/library/operator.rst:171 | ||||
msgid "Return ``a ** b``, for *a* and *b* numbers." | ||||
msgstr "" | ||||
msgstr "Renvoie ``a ** b`` où *a* et *b* sont des nombres." | ||||
| ||||
#: ../Doc/library/operator.rst:177 | ||||
msgid "Return *a* shifted right by *b*." | ||||
msgstr "" | ||||
msgstr "Renvoie le décalage de *b* bits vers la droite de *a*." | ||||
| ||||
#: ../Doc/library/operator.rst:183 | ||||
msgid "Return ``a - b``." | ||||
msgstr "" | ||||
msgstr "Renvoie ``a - b``." | ||||
| ||||
#: ../Doc/library/operator.rst:189 | ||||
msgid "" | ||||
"Return ``a / b`` where 2/3 is .66 rather than 0. This is also known as " | ||||
"\"true\" division." | ||||
msgstr "" | ||||
"Renvoie ``a / b`` où 2/3 est 0.66 et non 0. Appelée aussi division « réelle " | ||||
"»." | ||||
| ||||
#: ../Doc/library/operator.rst:196 | ||||
msgid "Return the bitwise exclusive or of *a* and *b*." | ||||
msgstr "" | ||||
msgstr "Renvoie le ou exclusif bit à bit de *a* et *b*." | ||||
| ||||
#: ../Doc/library/operator.rst:199 | ||||
msgid "" | ||||
"Operations which work with sequences (some of them with mappings too) " | ||||
"include:" | ||||
msgstr "" | ||||
"Les opérations sur séquences (et pour certaines, sur correspondances) sont :" | ||||
| ||||
#: ../Doc/library/operator.rst:204 | ||||
msgid "Return ``a + b`` for *a* and *b* sequences." | ||||
msgstr "" | ||||
msgstr "Renvoie ``a + b`` où *a* et *b* sont des séquences." | ||||
| ||||
#: ../Doc/library/operator.rst:210 | ||||
msgid "Return the outcome of the test ``b in a``. Note the reversed operands." | ||||
msgstr "" | ||||
"Renvoie le résultat du test ``b in a``. Notez que les opérandes sont " | ||||
"inversées." | ||||
| ||||
#: ../Doc/library/operator.rst:215 | ||||
msgid "Return the number of occurrences of *b* in *a*." | ||||
msgstr "" | ||||
msgstr "Renvoie le nombre d’occurrences de *b* dans *a*." | ||||
| ||||
#: ../Doc/library/operator.rst:221 | ||||
msgid "Remove the value of *a* at index *b*." | ||||
msgstr "" | ||||
msgstr "Renvoie la valeur de *a* à l'indice *b*." | ||||
| ||||
#: ../Doc/library/operator.rst:227 | ||||
msgid "Return the value of *a* at index *b*." | ||||
msgstr "" | ||||
msgstr "Renvoie la valeur de *a* à l'indice *b*." | ||||
| ||||
#: ../Doc/library/operator.rst:232 | ||||
msgid "Return the index of the first of occurrence of *b* in *a*." | ||||
msgstr "" | ||||
msgstr "Renvoie l'indice de la première occurrence de *b* dans *a*." | ||||
| ||||
#: ../Doc/library/operator.rst:238 | ||||
msgid "Set the value of *a* at index *b* to *c*." | ||||
msgstr "" | ||||
msgstr "Affecte *c* dans *a* à l'indice *b*." | ||||
| ||||
#: ../Doc/library/operator.rst:243 | ||||
msgid "" | ||||
| | @ -204,6 +240,9 @@ msgid "" | |||
"actual length, then an estimate using :meth:`object.__length_hint__`, and " | ||||
"finally return the default value." | ||||
msgstr "" | ||||
"Renvoie une estimation de la taille de l'objet *o*. Tente d'abord de " | ||||
"renvoyer la taille réelle, puis une estimation en appelant :meth:`object." | ||||
"__length_hint__`, ou sinon la valeur par défaut." | ||||
| ||||
#: ../Doc/library/operator.rst:249 | ||||
msgid "" | ||||
| | @ -212,6 +251,11 @@ msgid "" | |||
"arguments for :func:`map`, :func:`sorted`, :meth:`itertools.groupby`, or " | ||||
"other functions that expect a function argument." | ||||
msgstr "" | ||||
"Le module :mod:`operator` définit aussi des fonctions pour la recherche " | ||||
"générique d'attributs ou d'objets. Elles sont particulièrement utiles pour " | ||||
"construire rapidement des accesseurs d'attributs à passer en paramètre à :" | ||||
"func:`map`, :func:`sorted`, :meth:`itertools.groupby` ou à toute autre " | ||||
"fonction prenant une fonction en paramètre." | ||||
| ||||
#: ../Doc/library/operator.rst:258 | ||||
msgid "" | ||||
| | @ -219,22 +263,29 @@ msgid "" | |||
"one attribute is requested, returns a tuple of attributes. The attribute " | ||||
"names can also contain dots. For example:" | ||||
msgstr "" | ||||
"Renvoie un objet appelable qui récupère *attr* de son opérande. Si plus d'un " | ||||
"attribut est demandé, renvoie un n-uplet d'attributs. Les noms des attributs " | ||||
"peuvent aussi comporter des points. Par exemple :" | ||||
| ||||
#: ../Doc/library/operator.rst:262 | ||||
msgid "After ``f = attrgetter('name')``, the call ``f(b)`` returns ``b.name``." | ||||
msgstr "" | ||||
msgstr "Avec ``f = attrgetter('name')``, l'appel ``f(b)`` renvoie ``b.name``." | ||||
| ||||
#: ../Doc/library/operator.rst:264 | ||||
msgid "" | ||||
"After ``f = attrgetter('name', 'date')``, the call ``f(b)`` returns ``(b." | ||||
"name, b.date)``." | ||||
msgstr "" | ||||
"Avec ``f = attrgetter('name', 'date')``, l'appel ``f(b)`` renvoie ``(b.name, " | ||||
"b.date)``." | ||||
| ||||
#: ../Doc/library/operator.rst:267 | ||||
msgid "" | ||||
"After ``f = attrgetter('name.first', 'name.last')``, the call ``f(b)`` " | ||||
"returns ``(b.name.first, b.name.last)``." | ||||
msgstr "" | ||||
"Après ``f = attrgetter('name.first', 'name.last')``, l'appel ``f(b)`` " | ||||
"renvoie ``(b.name.first, b.name.last)``." | ||||
| ||||
#: ../Doc/library/operator.rst:270 ../Doc/library/operator.rst:302 | ||||
#: ../Doc/library/operator.rst:351 | ||||
| | @ -247,16 +298,20 @@ msgid "" | |||
"operand's :meth:`__getitem__` method. If multiple items are specified, " | ||||
"returns a tuple of lookup values. For example:" | ||||
msgstr "" | ||||
"Renvoie un objet appelable qui récupère *item* de l'opérande en utilisant la " | ||||
"méthode :meth:`__getitem__`. Si plusieurs *item* sont passés en paramètre, " | ||||
"renvoie un n-uplet des valeurs récupérées. Par exemple :" | ||||
| ||||
#: ../Doc/library/operator.rst:297 | ||||
msgid "After ``f = itemgetter(2)``, the call ``f(r)`` returns ``r[2]``." | ||||
msgstr "" | ||||
msgstr "Avec ``f = itemgetter(2)``, ``f(r)`` renvoie ``r[2]``." | ||||
| ||||
#: ../Doc/library/operator.rst:299 | ||||
msgid "" | ||||
"After ``g = itemgetter(2, 5, 3)``, the call ``g(r)`` returns ``(r[2], r[5], " | ||||
"r[3])``." | ||||
msgstr "" | ||||
"Avec ``g = itemgetter(2, 5, 3)``, ``g(r)`` renvoie ``(r[2], r[5], r[3])``." | ||||
| ||||
#: ../Doc/library/operator.rst:314 | ||||
msgid "" | ||||
| | @ -264,12 +319,18 @@ msgid "" | |||
"method. Dictionaries accept any hashable value. Lists, tuples, and strings " | ||||
"accept an index or a slice:" | ||||
msgstr "" | ||||
"Les *items* en entrée peuvent être de n'importe quel type tant que celui-ci " | ||||
"est géré par la méthode :meth:`__getitem__` de l'opérande. Les dictionnaires " | ||||
"acceptent toute valeur hachable. Les listes, n-uplets et chaînes de " | ||||
"caractères acceptent un index ou une tranche :" | ||||
| ||||
#: ../Doc/library/operator.rst:329 | ||||
msgid "" | ||||
"Example of using :func:`itemgetter` to retrieve specific fields from a tuple " | ||||
"record:" | ||||
msgstr "" | ||||
"Exemple d'utilisation de :func:`itemgetter` pour récupérer des champs " | ||||
"spécifiques d'un n-uplet :" | ||||
| ||||
#: ../Doc/library/operator.rst:342 | ||||
msgid "" | ||||
| | @ -277,27 +338,34 @@ msgid "" | |||
"additional arguments and/or keyword arguments are given, they will be given " | ||||
"to the method as well. For example:" | ||||
msgstr "" | ||||
"Renvoie un objet appelable qui appelle la méthode *name* de son opérande. Si " | ||||
"des paramètres supplémentaires et/ou des paramètres nommés sont donnés, ils " | ||||
"seront aussi passés à la méthode. Par exemple :" | ||||
| ||||
#: ../Doc/library/operator.rst:346 | ||||
msgid "" | ||||
"After ``f = methodcaller('name')``, the call ``f(b)`` returns ``b.name()``." | ||||
msgstr "" | ||||
msgstr "Avec ``f = methodcaller('name')``, ``f(b)`` renvoie ``b.name()``." | ||||
| ||||
#: ../Doc/library/operator.rst:348 | ||||
msgid "" | ||||
"After ``f = methodcaller('name', 'foo', bar=1)``, the call ``f(b)`` returns " | ||||
"``b.name('foo', bar=1)``." | ||||
msgstr "" | ||||
"Avec ``f = methodcaller('name', 'foo', bar=1)``, ``f(b)`` renvoie ``b." | ||||
"name('foo', bar=1)``." | ||||
| ||||
#: ../Doc/library/operator.rst:362 | ||||
msgid "Mapping Operators to Functions" | ||||
msgstr "" | ||||
msgstr "Correspondances entre opérateurs et fonctions" | ||||
| ||||
#: ../Doc/library/operator.rst:364 | ||||
msgid "" | ||||
"This table shows how abstract operations correspond to operator symbols in " | ||||
"the Python syntax and the functions in the :mod:`operator` module." | ||||
msgstr "" | ||||
"Le tableau montre la correspondance entre les symboles des opérateurs Python " | ||||
"et les fonctions du module :mod:`operator`." | ||||
| ||||
#: ../Doc/library/operator.rst:368 | ||||
msgid "Operation" | ||||
| | @ -305,7 +373,7 @@ msgstr "Opération" | |||
| ||||
#: ../Doc/library/operator.rst:368 | ||||
msgid "Syntax" | ||||
msgstr "" | ||||
msgstr "Syntaxe" | ||||
| ||||
#: ../Doc/library/operator.rst:368 | ||||
msgid "Function" | ||||
| | @ -313,7 +381,7 @@ msgstr "Fonction" | |||
| ||||
#: ../Doc/library/operator.rst:370 | ||||
msgid "Addition" | ||||
msgstr "" | ||||
msgstr "Addition" | ||||
| ||||
#: ../Doc/library/operator.rst:370 | ||||
msgid "``a + b``" | ||||
| | @ -325,7 +393,7 @@ msgstr "``add(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:372 | ||||
msgid "Concatenation" | ||||
msgstr "" | ||||
msgstr "Concaténation" | ||||
| ||||
#: ../Doc/library/operator.rst:372 | ||||
msgid "``seq1 + seq2``" | ||||
| | @ -337,7 +405,7 @@ msgstr "``concat(seq1, seq2)``" | |||
| ||||
#: ../Doc/library/operator.rst:374 | ||||
msgid "Containment Test" | ||||
msgstr "" | ||||
msgstr "Test d'inclusion" | ||||
| ||||
#: ../Doc/library/operator.rst:374 | ||||
msgid "``obj in seq``" | ||||
| | @ -349,7 +417,7 @@ msgstr "``contains(seq, obj)``" | |||
| ||||
#: ../Doc/library/operator.rst:376 ../Doc/library/operator.rst:378 | ||||
msgid "Division" | ||||
msgstr "" | ||||
msgstr "Division" | ||||
| ||||
#: ../Doc/library/operator.rst:376 | ||||
msgid "``a / b``" | ||||
| | @ -369,7 +437,7 @@ msgstr "``floordiv(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:380 | ||||
msgid "Bitwise And" | ||||
msgstr "" | ||||
msgstr "*Et* bit à bit" | ||||
| ||||
#: ../Doc/library/operator.rst:380 | ||||
msgid "``a & b``" | ||||
| | @ -381,7 +449,7 @@ msgstr "``and_(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:382 | ||||
msgid "Bitwise Exclusive Or" | ||||
msgstr "" | ||||
msgstr "*Ou exclusif* bit à bit" | ||||
| ||||
#: ../Doc/library/operator.rst:382 | ||||
msgid "``a ^ b``" | ||||
| | @ -393,7 +461,7 @@ msgstr "``xor(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:384 | ||||
msgid "Bitwise Inversion" | ||||
msgstr "" | ||||
msgstr "Inversion bit à bit" | ||||
| ||||
#: ../Doc/library/operator.rst:384 | ||||
msgid "``~ a``" | ||||
| | @ -405,7 +473,7 @@ msgstr "``invert(a)``" | |||
| ||||
#: ../Doc/library/operator.rst:386 | ||||
msgid "Bitwise Or" | ||||
msgstr "" | ||||
msgstr "*Ou* bit à bit" | ||||
| ||||
#: ../Doc/library/operator.rst:386 | ||||
msgid "``a | b``" | ||||
| | @ -417,7 +485,7 @@ msgstr "``or_(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:388 | ||||
msgid "Exponentiation" | ||||
msgstr "" | ||||
msgstr "Exponentiation" | ||||
| ||||
#: ../Doc/library/operator.rst:388 | ||||
msgid "``a ** b``" | ||||
| | @ -429,7 +497,7 @@ msgstr "``pow(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:390 ../Doc/library/operator.rst:392 | ||||
msgid "Identity" | ||||
msgstr "" | ||||
msgstr "Identité" | ||||
| ||||
#: ../Doc/library/operator.rst:390 | ||||
msgid "``a is b``" | ||||
| | @ -449,7 +517,7 @@ msgstr "``is_not(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:394 | ||||
msgid "Indexed Assignment" | ||||
msgstr "" | ||||
msgstr "Affectation par index" | ||||
| ||||
#: ../Doc/library/operator.rst:394 | ||||
msgid "``obj[k] = v``" | ||||
| | @ -461,7 +529,7 @@ msgstr "``setitem(obj, k, v)``" | |||
| ||||
#: ../Doc/library/operator.rst:396 | ||||
msgid "Indexed Deletion" | ||||
msgstr "" | ||||
msgstr "Suppression par index" | ||||
| ||||
#: ../Doc/library/operator.rst:396 | ||||
msgid "``del obj[k]``" | ||||
| | @ -473,7 +541,7 @@ msgstr "``delitem(obj, k)``" | |||
| ||||
#: ../Doc/library/operator.rst:398 | ||||
msgid "Indexing" | ||||
msgstr "" | ||||
msgstr "Indexation" | ||||
| ||||
#: ../Doc/library/operator.rst:398 | ||||
msgid "``obj[k]``" | ||||
| | @ -485,7 +553,7 @@ msgstr "``getitem(obj, k)``" | |||
| ||||
#: ../Doc/library/operator.rst:400 | ||||
msgid "Left Shift" | ||||
msgstr "" | ||||
msgstr "Décalage bit à bit gauche" | ||||
| ||||
#: ../Doc/library/operator.rst:400 | ||||
msgid "``a << b``" | ||||
| | @ -497,7 +565,7 @@ msgstr "``lshift(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:402 | ||||
msgid "Modulo" | ||||
msgstr "" | ||||
msgstr "Modulo" | ||||
| ||||
#: ../Doc/library/operator.rst:402 | ||||
msgid "``a % b``" | ||||
| | @ -509,7 +577,7 @@ msgstr "``mod(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:404 | ||||
msgid "Multiplication" | ||||
msgstr "" | ||||
msgstr "Multiplication" | ||||
| ||||
#: ../Doc/library/operator.rst:404 | ||||
msgid "``a * b``" | ||||
| | @ -521,7 +589,7 @@ msgstr "``mul(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:406 | ||||
msgid "Matrix Multiplication" | ||||
msgstr "" | ||||
msgstr "Multiplication matricielle" | ||||
| ||||
#: ../Doc/library/operator.rst:406 | ||||
msgid "``a @ b``" | ||||
| | @ -533,7 +601,7 @@ msgstr "``matmul(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:408 | ||||
msgid "Negation (Arithmetic)" | ||||
msgstr "" | ||||
msgstr "Opposé" | ||||
| ||||
#: ../Doc/library/operator.rst:408 | ||||
msgid "``- a``" | ||||
| | @ -545,7 +613,7 @@ msgstr "``neg(a)``" | |||
| ||||
#: ../Doc/library/operator.rst:410 | ||||
msgid "Negation (Logical)" | ||||
msgstr "" | ||||
msgstr "Négation (logique)" | ||||
| ||||
#: ../Doc/library/operator.rst:410 | ||||
msgid "``not a``" | ||||
| | @ -557,7 +625,7 @@ msgstr "``not_(a)``" | |||
| ||||
#: ../Doc/library/operator.rst:412 | ||||
msgid "Positive" | ||||
msgstr "" | ||||
msgstr "Valeur positive" | ||||
| ||||
#: ../Doc/library/operator.rst:412 | ||||
msgid "``+ a``" | ||||
| | @ -569,7 +637,7 @@ msgstr "``pos(a)``" | |||
| ||||
#: ../Doc/library/operator.rst:414 | ||||
msgid "Right Shift" | ||||
msgstr "" | ||||
msgstr "Décalage bit à bit droite" | ||||
| ||||
#: ../Doc/library/operator.rst:414 | ||||
msgid "``a >> b``" | ||||
| | @ -581,7 +649,7 @@ msgstr "``rshift(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:416 | ||||
msgid "Slice Assignment" | ||||
msgstr "" | ||||
msgstr "Affectation par tranche" | ||||
| ||||
#: ../Doc/library/operator.rst:416 | ||||
msgid "``seq[i:j] = values``" | ||||
| | @ -593,7 +661,7 @@ msgstr "``setitem(seq, slice(i, j), values)``" | |||
| ||||
#: ../Doc/library/operator.rst:418 | ||||
msgid "Slice Deletion" | ||||
msgstr "" | ||||
msgstr "Suppression par tranche" | ||||
| ||||
#: ../Doc/library/operator.rst:418 | ||||
msgid "``del seq[i:j]``" | ||||
| | @ -605,7 +673,7 @@ msgstr "``delitem(seq, slice(i, j))``" | |||
| ||||
#: ../Doc/library/operator.rst:420 | ||||
msgid "Slicing" | ||||
msgstr "" | ||||
msgstr "Tranche" | ||||
| ||||
#: ../Doc/library/operator.rst:420 | ||||
msgid "``seq[i:j]``" | ||||
| | @ -617,7 +685,7 @@ msgstr "``getitem(seq, slice(i, j))``" | |||
| ||||
#: ../Doc/library/operator.rst:422 | ||||
msgid "String Formatting" | ||||
msgstr "" | ||||
msgstr "Formatage de chaînes de caractères" | ||||
| ||||
#: ../Doc/library/operator.rst:422 | ||||
msgid "``s % obj``" | ||||
| | @ -629,7 +697,7 @@ msgstr "``mod(s, obj)``" | |||
| ||||
#: ../Doc/library/operator.rst:424 | ||||
msgid "Subtraction" | ||||
msgstr "" | ||||
msgstr "Soustraction" | ||||
| ||||
#: ../Doc/library/operator.rst:424 | ||||
msgid "``a - b``" | ||||
| | @ -641,7 +709,7 @@ msgstr "``sub(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:426 | ||||
msgid "Truth Test" | ||||
msgstr "" | ||||
msgstr "Test de véracité" | ||||
| ||||
#: ../Doc/library/operator.rst:426 | ||||
msgid "``obj``" | ||||
| | @ -654,7 +722,7 @@ msgstr "``truth(obj)``" | |||
#: ../Doc/library/operator.rst:428 ../Doc/library/operator.rst:430 | ||||
#: ../Doc/library/operator.rst:436 ../Doc/library/operator.rst:438 | ||||
msgid "Ordering" | ||||
msgstr "" | ||||
msgstr "Ordre" | ||||
| ||||
#: ../Doc/library/operator.rst:428 | ||||
msgid "``a < b``" | ||||
| | @ -674,7 +742,7 @@ msgstr "``le(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:432 | ||||
msgid "Equality" | ||||
msgstr "" | ||||
msgstr "Égalité" | ||||
| ||||
#: ../Doc/library/operator.rst:432 | ||||
msgid "``a == b``" | ||||
| | @ -686,7 +754,7 @@ msgstr "``eq(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:434 | ||||
msgid "Difference" | ||||
msgstr "Différence" | ||||
msgstr "Inégalité" | ||||
| ||||
#: ../Doc/library/operator.rst:434 | ||||
msgid "``a != b``" | ||||
| | @ -714,7 +782,7 @@ msgstr "``gt(a, b)``" | |||
| ||||
#: ../Doc/library/operator.rst:442 | ||||
msgid "Inplace Operators" | ||||
msgstr "" | ||||
msgstr "Opérateurs en-place" | ||||
| ||||
#: ../Doc/library/operator.rst:444 | ||||
msgid "" | ||||
| | @ -725,6 +793,12 @@ msgid "" | |||
"operator.iadd(x, y)`` is equivalent to the compound statement ``z = x; z += " | ||||
"y``." | ||||
msgstr "" | ||||
"Beaucoup d'opération ont une version travaillant « en-place ». Les fonctions " | ||||
"listées ci-dessous fournissent un accès plus direct aux opérateurs en-place " | ||||
"que la syntaxe Python habituelle ; par exemple, l'expression :term:" | ||||
"`statement` ``x += y`` équivaut à ``x = operator.iadd(x, y)``. Autrement " | ||||
"dit, l'expression ``z = operator.iadd(x, y)`` équivaut à l'expression " | ||||
"composée ``z = x; z += y``." | ||||
| ||||
#: ../Doc/library/operator.rst:451 | ||||
msgid "" | ||||
| | @ -733,73 +807,84 @@ msgid "" | |||
"place functions listed below only do the first step, calling the in-place " | ||||
"method. The second step, assignment, is not handled." | ||||
msgstr "" | ||||
"Dans ces exemples, notez que lorsqu'une méthode en-place est appelée, le " | ||||
"calcul et l'affectation sont effectués en deux étapes distinctes. Les " | ||||
"fonctions en-place de la liste ci-dessous ne font que la première, en " | ||||
"appelant la méthode en-place. La seconde étape, l'affectation, n'est pas " | ||||
"effectuée." | ||||
| ||||
#: ../Doc/library/operator.rst:456 | ||||
msgid "" | ||||
"For immutable targets such as strings, numbers, and tuples, the updated " | ||||
"value is computed, but not assigned back to the input variable:" | ||||
msgstr "" | ||||
"Pour des paramètres non-mutables comme les chaînes de caractères, les " | ||||
"nombres et les n-uplets, la nouvelle valeur est calculée, mais pas affectée " | ||||
"à la variable d'entrée:" | ||||
| ||||
#: ../Doc/library/operator.rst:465 | ||||
msgid "" | ||||
"For mutable targets such as lists and dictionaries, the inplace method will " | ||||
"perform the update, so no subsequent assignment is necessary:" | ||||
msgstr "" | ||||
"Pour des paramètres mutables comme les listes et les dictionnaires, la " | ||||
"méthode en-place modifiera la valeur, aucune affectation ultérieure n'est " | ||||
"nécessaire :" | ||||
| ||||
#: ../Doc/library/operator.rst:477 | ||||
msgid "``a = iadd(a, b)`` is equivalent to ``a += b``." | ||||
msgstr "``a = iadd(a, b)`` is equivalent to ``a += b``." | ||||
msgstr "``a = iadd(a, b)`` équivaut à ``a += b``." | ||||
| ||||
#: ../Doc/library/operator.rst:483 | ||||
msgid "``a = iand(a, b)`` is equivalent to ``a &= b``." | ||||
msgstr "``a = iand(a, b)`` is equivalent to ``a &= b``." | ||||
msgstr "``a = iand(a, b)`` équivaut à ``a &= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:489 | ||||
msgid "" | ||||
"``a = iconcat(a, b)`` is equivalent to ``a += b`` for *a* and *b* sequences." | ||||
msgstr "" | ||||
"``a = iconcat(a, b)`` is equivalent to ``a += b`` for *a* and *b* sequences." | ||||
"``a = iconcat(a, b)`` équivaut à ``a += b`` où *a* et *b* sont des séquences." | ||||
| ||||
#: ../Doc/library/operator.rst:495 | ||||
msgid "``a = ifloordiv(a, b)`` is equivalent to ``a //= b``." | ||||
msgstr "``a = ifloordiv(a, b)`` is equivalent to ``a //= b``." | ||||
msgstr "``a = ifloordiv(a, b)``équivaut à ``a //= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:501 | ||||
msgid "``a = ilshift(a, b)`` is equivalent to ``a <<= b``." | ||||
msgstr "``a = ilshift(a, b)`` is equivalent to ``a <<= b``." | ||||
msgstr "``a = ilshift(a, b)`` équivaut à ``a <<= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:507 | ||||
msgid "``a = imod(a, b)`` is equivalent to ``a %= b``." | ||||
msgstr "``a = imod(a, b)`` is equivalent to ``a %= b``." | ||||
msgstr "``a = imod(a, b)`` équivaut à ``a %= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:513 | ||||
msgid "``a = imul(a, b)`` is equivalent to ``a *= b``." | ||||
msgstr "``a = imul(a, b)`` is equivalent to ``a *= b``." | ||||
msgstr "``a = imul(a, b)`` équivaut à ``a *= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:519 | ||||
msgid "``a = imatmul(a, b)`` is equivalent to ``a @= b``." | ||||
msgstr "``a = imatmul(a, b)`` is equivalent to ``a @= b``." | ||||
msgstr "``a = imatmul(a, b)`` équivaut à ``a @= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:527 | ||||
msgid "``a = ior(a, b)`` is equivalent to ``a |= b``." | ||||
msgstr "``a = ior(a, b)`` is equivalent to ``a |= b``." | ||||
msgstr "``a = ior(a, b)`` équivaut à ``a |= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:533 | ||||
msgid "``a = ipow(a, b)`` is equivalent to ``a **= b``." | ||||
msgstr "``a = ipow(a, b)`` is equivalent to ``a **= b``." | ||||
msgstr "``a = ipow(a, b)`` équivaut à ``a **= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:539 | ||||
msgid "``a = irshift(a, b)`` is equivalent to ``a >>= b``." | ||||
msgstr "``a = irshift(a, b)`` is equivalent to ``a >>= b``." | ||||
msgstr "``a = irshift(a, b)`` équivaut à ``a >>= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:545 | ||||
msgid "``a = isub(a, b)`` is equivalent to ``a -= b``." | ||||
msgstr "``a = isub(a, b)`` is equivalent to ``a -= b``." | ||||
msgstr "``a = isub(a, b)`` équivaut à ``a -= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:551 | ||||
msgid "``a = itruediv(a, b)`` is equivalent to ``a /= b``." | ||||
msgstr "``a = itruediv(a, b)`` is equivalent to ``a /= b``." | ||||
msgstr "``a = itruediv(a, b)`` équivaut à ``a /= b``." | ||||
| ||||
#: ../Doc/library/operator.rst:557 | ||||
msgid "``a = ixor(a, b)`` is equivalent to ``a ^= b``." | ||||
msgstr "``a = ixor(a, b)`` is equivalent to ``a ^= b``." | ||||
msgstr "``a = ixor(a, b)`` équivaut à ``a ^= b``." | ||||
| | | |||
Loading…
Add table
Add a link
Reference in a new issue