Skip to content

Commit a9453dd

Browse files
committed
Working on library.po/stdtypes.rst
1 parent 18971f2 commit a9453dd

File tree

1 file changed

+49
-9
lines changed

1 file changed

+49
-9
lines changed

library.po

Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91926,6 +91926,10 @@ msgid ""
9192691926
"treated as their 2's complement value (this assumes a sufficiently large "
9192791927
"number of bits that no overflow occurs during the operation)."
9192891928
msgstr ""
91929+
"Les opérations sur les bits n'ont de sens que pour les entiers. Les nombres "
91930+
"négatifssont traités comme leur complément à 2 (ce qui suppose un assez "
91931+
"grand nombre de bits afin qu'aucun débordement ne se produise pendant "
91932+
"l'opération)."
9192991933

9193091934
#: library/stdtypes.rst:432
9193191935
msgid ""
@@ -91934,6 +91938,10 @@ msgid ""
9193491938
"``~`` has the same priority as the other unary numeric operations (``+`` and "
9193591939
"``-``)."
9193691940
msgstr ""
91941+
"Les priorités de toutes les opération à deux opérandes sur des bits sont "
91942+
"inférieures auxopérations numériques et plus élevées que les comparaisons; "
91943+
"l'opération unaire ``~`` a la même priorité que les autres opérations "
91944+
"numériques unaires (``+`` et ``-``)."
9193791945

9193891946
#: library/stdtypes.rst:436
9193991947
msgid "This table lists the bitwise operations sorted in ascending priority:"
@@ -91947,31 +91955,31 @@ msgstr "``x | y``"
9194791955

9194891956
#: library/stdtypes.rst:441
9194991957
msgid "bitwise :dfn:`or` of *x* and *y*"
91950-
msgstr ""
91958+
msgstr "dfn:`ou <or>` binaire de *x* et *y*"
9195191959

9195291960
#: library/stdtypes.rst:444
9195391961
msgid "``x ^ y``"
9195491962
msgstr "``x ^ y``"
9195591963

9195691964
#: library/stdtypes.rst:444
9195791965
msgid "bitwise :dfn:`exclusive or` of *x* and *y*"
91958-
msgstr ""
91966+
msgstr ":dfn:`ou <or>` exclusive binaire de *x* et *y*"
9195991967

9196091968
#: library/stdtypes.rst:447
9196191969
msgid "``x & y``"
9196291970
msgstr "``x & y``"
9196391971

9196491972
#: library/stdtypes.rst:447
9196591973
msgid "bitwise :dfn:`and` of *x* and *y*"
91966-
msgstr ""
91974+
msgstr ":dfn:`et binaire <and>` de *x* et *y*"
9196791975

9196891976
#: library/stdtypes.rst:450
9196991977
msgid "``x << n``"
9197091978
msgstr "``x << n``"
9197191979

9197291980
#: library/stdtypes.rst:450
9197391981
msgid "*x* shifted left by *n* bits"
91974-
msgstr ""
91982+
msgstr "*x* décalé vers la gauche de *n* bits"
9197591983

9197691984
#: library/stdtypes.rst:450
9197791985
msgid "(1)(2)"
@@ -91983,7 +91991,7 @@ msgstr "``x >> n``"
9198391991

9198491992
#: library/stdtypes.rst:452
9198591993
msgid "*x* shifted right by *n* bits"
91986-
msgstr ""
91994+
msgstr "*x* décalé vers la droite de *n* bits"
9198791995

9198891996
#: library/stdtypes.rst:452
9198991997
msgid "(1)(3)"
@@ -91995,12 +92003,14 @@ msgstr "``~x``"
9199592003

9199692004
#: library/stdtypes.rst:454
9199792005
msgid "the bits of *x* inverted"
91998-
msgstr ""
92006+
msgstr "les bits de *x*, inversés"
9199992007

9200092008
#: library/stdtypes.rst:460
9200192009
msgid ""
9200292010
"Negative shift counts are illegal and cause a :exc:`ValueError` to be raised."
9200392011
msgstr ""
92012+
"Des valeurs de décalage négatives sont illégales et provoquent une "
92013+
"exception :exc:`ValueError`."
9200492014

9200592015
#: library/stdtypes.rst:463
9200692016
msgid ""
@@ -92014,7 +92024,7 @@ msgstr ""
9201492024

9201592025
#: library/stdtypes.rst:471
9201692026
msgid "Additional Methods on Integer Types"
92017-
msgstr ""
92027+
msgstr "Méthodes supplémentaires sur les entiers"
9201892028

9201992029
#: library/stdtypes.rst:473
9202092030
msgid ""
@@ -92027,6 +92037,8 @@ msgid ""
9202792037
"Return the number of bits necessary to represent an integer in binary, "
9202892038
"excluding the sign and leading zeros::"
9202992039
msgstr ""
92040+
"Retourne le nombre de bits nécessaires pour représenter un nombre entier en "
92041+
"binaire, à l'exclusion du signe et des zéros non significatifs : ::"
9203092042

9203192043
#: library/stdtypes.rst:488
9203292044
msgid ""
@@ -92036,29 +92048,41 @@ msgid ""
9203692048
"logarithm, then ``k = 1 + int(log(abs(x), 2))``. If ``x`` is zero, then ``x."
9203792049
"bit_length()`` returns ``0``."
9203892050
msgstr ""
92051+
"Plus précisément, si ``x`` est différent de zéro, ``x.bit_length()`` est le "
92052+
"nombre entier positif unique, ``k`` tel que ``2**(k-1) <= abs(x) < 2**k``. "
92053+
"Équivalemment, quand ``abs(x)`` est assez petit pour avoir un logarithme "
92054+
"correctement arrondi, ``k = 1 + int(log(abs(x), 2))``. Si ``x`` est nul, "
92055+
"alors ``x.bit_length()`` retourne ``0``."
9203992056

9204092057
#: library/stdtypes.rst:505
9204192058
msgid "Additional Methods on Float"
92042-
msgstr ""
92059+
msgstr "Méthodes supplémentaires sur les nombres à virgule flottante"
9204392060

9204492061
#: library/stdtypes.rst:507
9204592062
msgid ""
9204692063
"The float type implements the :class:`numbers.Real` :term:`abstract base "
9204792064
"class`. float also has the following additional methods."
9204892065
msgstr ""
92066+
"Le type *float* implémente la :term:`abstract base class` :class:`numbers."
92067+
"Real` et a également les méthodes suivantes."
9204992068

9205092069
#: library/stdtypes.rst:512
9205192070
msgid ""
9205292071
"Return a pair of integers whose ratio is exactly equal to the original float "
9205392072
"and with a positive denominator. Raises :exc:`OverflowError` on infinities "
9205492073
"and a :exc:`ValueError` on NaNs."
9205592074
msgstr ""
92075+
"Retourne une paire de nombres entiers dont le rappot est exactement égal au "
92076+
"nombre d'origine et avec un dénominateur positif. Lève :exc:`OverflowError` "
92077+
"avec un infini et :exc:`ValueError` avec un NaN."
9205692078

9205792079
#: library/stdtypes.rst:521
9205892080
msgid ""
9205992081
"Return ``True`` if the float instance is finite with integral value, and "
9206092082
"``False`` otherwise::"
9206192083
msgstr ""
92084+
"Donne ``True`` si l'instance de *float* est finie avec une valeur entière, "
92085+
"et ``False`` autrement : ::"
9206292086

9206392087
#: library/stdtypes.rst:531
9206492088
msgid ""
@@ -92069,29 +92093,45 @@ msgid ""
9206992093
"of floating-point numbers. This can be useful when debugging, and in "
9207092094
"numerical work."
9207192095
msgstr ""
92096+
"Deux méthodes prennent en charge la conversion vers et à partir de chaînes "
92097+
"hexadécimales. Étant donné que les *float* de Python sont stockés en interne "
92098+
"sous forme de nombres binaires, la conversion d'un *float* depuis ou vers "
92099+
"une chaine décimale implique généralement une petite erreur d'arrondi. "
92100+
"En revanche, les chaînes hexadécimales permettent de représenter exactement "
92101+
"les nombres à virgule flottante. Cela peut être utile lorsdu débogage, et "
92102+
"dans un travail numérique."
9207292103

9207392104
#: library/stdtypes.rst:542
9207492105
msgid ""
9207592106
"Return a representation of a floating-point number as a hexadecimal string. "
9207692107
"For finite floating-point numbers, this representation will always include a "
9207792108
"leading ``0x`` and a trailing ``p`` and exponent."
9207892109
msgstr ""
92110+
"Donne une représentation d'un nombre à virgule flottante sous forme de "
92111+
"chaîne hexadécimale. Pour les nombres à virgule flottante finis, cette "
92112+
"représentation comprendra toujours un préfixe ``0x``, un suffixe ``p``, et "
92113+
"exposant."
9207992114

9208092115
#: library/stdtypes.rst:552
9208192116
msgid ""
9208292117
"Class method to return the float represented by a hexadecimal string *s*. "
9208392118
"The string *s* may have leading and trailing whitespace."
9208492119
msgstr ""
92120+
"Méthode de classe pour obtenir le *float* représenté par une chaîne de "
92121+
"caractères hexadécimale *s*. La chaîne *s* peut contenir des espaces avant "
92122+
"et après le chiffre."
9208592123

9208692124
#: library/stdtypes.rst:559
9208792125
msgid ""
9208892126
"Note that :meth:`float.hex` is an instance method, while :meth:`float."
9208992127
"fromhex` is a class method."
9209092128
msgstr ""
92129+
"Notez que :meth:`float.hex` est une méthode d'instance, alors que :meth:"
92130+
"`float.fromhex` est une méthode de classe."
9209192131

9209292132
#: library/stdtypes.rst:562
9209392133
msgid "A hexadecimal string takes the form::"
92094-
msgstr ""
92134+
msgstr "Une chaîne hexadécimale prend la forme : ::"
9209592135

9209692136
#: library/stdtypes.rst:566
9209792137
msgid ""

0 commit comments

Comments
 (0)