@@ -6,14 +6,14 @@ msgstr ""
6
6
"Project-Id-Version : Python 3\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
8
"POT-Creation-Date : 2021-09-23 16:16+0200\n "
9
- "PO-Revision-Date : 2021-09-04 02:31 +0200\n "
9
+ "PO-Revision-Date : 2021-10-17 16:54 +0200\n "
10
10
"Last-Translator : Jean Abou Samra <jean@abou-samra.fr>\n "
11
11
"Language-Team : FRENCH <traductions@lists.afpy.org>\n "
12
12
"Language : fr\n "
13
13
"MIME-Version : 1.0\n "
14
14
"Content-Type : text/plain; charset=UTF-8\n "
15
15
"Content-Transfer-Encoding : 8bit\n "
16
- "X-Generator : Poedit 2.4.1 \n "
16
+ "X-Generator : Poedit 3.0 \n "
17
17
18
18
#: reference/expressions.rst:6
19
19
msgid "Expressions"
@@ -1752,6 +1752,8 @@ msgstr ""
1752
1752
msgid ""
1753
1753
"This operation can be customized using the special :meth:`__pow__` method."
1754
1754
msgstr ""
1755
+ "La méthode spéciale qui permet de surcharger cet opérateur est :meth:"
1756
+ "`__pow__`."
1755
1757
1756
1758
#: reference/expressions.rst:1156
1757
1759
msgid "Unary arithmetic and bitwise operations"
@@ -1764,24 +1766,23 @@ msgstr ""
1764
1766
"priorité :"
1765
1767
1766
1768
#: reference/expressions.rst:1173
1767
- #, fuzzy
1768
1769
msgid ""
1769
1770
"The unary ``-`` (minus) operator yields the negation of its numeric "
1770
1771
"argument; the operation can be overridden with the :meth:`__neg__` special "
1771
1772
"method."
1772
1773
msgstr ""
1773
- "L'opérateur unaire ``-`` (moins) produit l'opposé de son argument numérique."
1774
+ "L'opérateur unaire ``-`` (moins) produit l'opposé de son argument numérique "
1775
+ "(la méthode spéciale qui le surcharge est :meth:`__neg__`) ;"
1774
1776
1775
1777
#: reference/expressions.rst:1181
1776
- #, fuzzy
1777
1778
msgid ""
<
10000
code>1778 1779
"The unary ``+`` (plus) operator yields its numeric argument unchanged; the "
1779
1780
"operation can be overridden with the :meth:`__pos__` special method."
1780
1781
msgstr ""
1781
- "L'opérateur unaire ``+`` (plus) produit son argument numérique inchangé."
1782
+ "L'opérateur unaire ``+`` (plus) produit son argument numérique inchangé "
1783
+ "(surcharge par la méthode :meth:`__pos__`) ;"
1782
1784
1783
1785
#: reference/expressions.rst:1188
1784
- #, fuzzy
1785
1786
msgid ""
1786
1787
"The unary ``~`` (invert) operator yields the bitwise inversion of its "
1787
1788
"integer argument. The bitwise inversion of ``x`` is defined as ``-(x+1)``. "
@@ -1790,7 +1791,8 @@ msgid ""
1790
1791
msgstr ""
1791
1792
"L'opérateur unaire ``~`` (inversion) produit l'inversion bit à bit de son "
1792
1793
"argument entier. L'inversion bit à bit de ``x`` est définie comme ``-(x"
1793
- "+1)``. Elle s'applique uniquement aux nombres entiers."
1794
+ "+1)``. Elle ne s'applique qu'aux nombres entiers et aux objets allogènes qui "
1795
+ "surchargent la méthode spéciale :meth:`__invert__`."
1794
1796
1795
1797
#: reference/expressions.rst:1197
1796
1798
msgid ""
@@ -1838,6 +1840,8 @@ msgid ""
1838
1840
"This operation can be customized using the special :meth:`__mul__` and :meth:"
1839
1841
"`__rmul__` methods."
1840
1842
msgstr ""
1843
+ "Les méthodes spéciales qui permettent de surcharger cet opérateur sont :meth:"
1844
+ "`__mul__` et :meth:`__rmul__`."
1841
1845
1842
1846
#: reference/expressions.rst:1236
1843
1847
msgid ""
@@ -1869,6 +1873,8 @@ msgid ""
1869
1873
"This operation can be customized using the special :meth:`__truediv__` and :"
1870
1874
"meth:`__floordiv__` methods."
1871
1875
msgstr ""
1876
+ "Les méthodes spéciales qui permettent de surcharger ces opérations sont :"
1877
+ "meth:`__truediv__` et :meth:`__floordiv__`."
1872
1878
1873
1879
#: reference/expressions.rst:1261
1874
1880
msgid ""
@@ -1921,6 +1927,8 @@ msgid ""
1921
1927
"The *modulo* operation can be customized using the special :meth:`__mod__` "
1922
1928
"method."
1923
1929
msgstr ""
1930
+ "La méthode spéciale qui permet de surcharger cette opération est :meth:"
1931
+ "`__mod__`."
1924
1932
1925
1933
#: reference/expressions.rst:1282
1926
1934
msgid ""
@@ -1951,6 +1959,8 @@ msgid ""
1951
1959
"This operation can be customized using the special :meth:`__add__` and :meth:"
1952
1960
"`__radd__` methods."
1953
1961
msgstr ""
1962
+ "Les méthodes spéciales qui permettent de surcharger cette opération sont :"
1963
+ "meth:`__add__` et :meth:`__radd__`."
1954
1964
1955
1965
#: reference/expressions.rst:1304
1956
1966
msgid ""
@@ -1964,6 +1974,8 @@ msgstr ""
1964
1974
msgid ""
1965
1975
"This operation can be customized using the special :meth:`__sub__` method."
1966
1976
msgstr ""
1977
+ "La méthode spéciale qui permet de surcharger cette opération est :meth:"
1978
+ "`__sub__`."
1967
1979
1968
1980
#: reference/expressions.rst:1313
1969
1981
msgid "Shifting operations"
@@ -1990,6 +2002,8 @@ msgid ""
1990
2002
"This operation can be customized using the special :meth:`__lshift__` and :"
1991
2003
"meth:`__rshift__` methods."
1992
2004
msgstr ""
2005
+ "Les méthodes spéciales qui permettent de surcharger ces opérations sont :"
2006
+ "meth:`__lshift__` et :meth:`__rshift__`."
1993
2007
1994
2008
#: reference/expressions.rst:1333
1995
2009
msgid ""
@@ -2011,34 +2025,33 @@ msgstr ""
2011
2025
"différente :"
2012
2026
2013
2027
#: reference/expressions.rst:1355
2014
- #, fuzzy
2015
2028
msgid ""
2016
2029
"The ``&`` operator yields the bitwise AND of its arguments, which must be "
2017
2030
"integers or one of them must be a custom object overriding :meth:`__and__` "
2018
2031
"or :meth:`__rand__` special methods."
2019
2032
msgstr ""
2020
- "L'opérateur ``&`` produit le ET logique de ses arguments, qui doivent être "
2021
- "des entiers."
2033
+ "L'opérateur ``&`` produit le ET logique de ses arguments. Ils doivent être "
2034
+ "des entiers, sauf si celui de gauche surcharge la méthode spéciale :meth:"
2035
+ "`__and__`, ou celui de droite la méthode :meth:`__rand__`."
2022
2036
2023
2037
#: reference/expressions.rst:1364
2024
- #, fuzzy
2025
2038
msgid ""
2026
2039
"The ``^`` operator yields the bitwise XOR (exclusive OR) of its arguments, "
2027
2040
"which must be integers or one of them must be a custom object overriding :"
2028
2041
"meth:`__xor__` or :meth:`__rxor__` special methods."
2029
2042
msgstr ""
2030
- "L'opérateur ``^`` produit le OU EXCLUSIF (XOR) logique de ses arguments, qui "
2031
- "doivent être des entiers."
2043
+ "L'opérateur ``^`` produit le OU EXCLUSIF (XOR) logique de ses arguments. Ils "
2044
+ "doivent être des entiers, sauf à surcharger :meth:`__xor__` ou :meth:"
2045
+ "`__rxor__`."
2032
2046
2033
2047
#: reference/expressions.rst:1373
2034
- #, fuzzy
2035
2048
msgid ""
2036
2049
"The ``|`` operator yields the bitwise (inclusive) OR of its arguments, which "
2037
2050
"must be integers or one of them must be a custom object overriding :meth:"
2038
2051
"`__or__` or :meth:`__ror__` special methods."
2039
2052
msgstr ""
2040
- "L'opérateur ``|`` produit le OU logique de ses arguments, qui doivent être "
2041
- "des entiers."
2053
+ "L'opérateur ``|`` produit le OU logique de ses arguments. Ils doivent être "
2054
+ "des entiers, sauf à surcharger :meth:`__or__` ou :meth:`__ror__` ."
2042
2055
2043
2056
#: reference/expressions.rst:1381
2044
2057
msgid "Comparisons"
@@ -2063,6 +2076,11 @@ msgid ""
2063
2076
"comparison methods` may return non-boolean values. In this case Python will "
2064
2077
"call :func:`bool` on such value in boolean contexts."
2065
2078
msgstr ""
2079
+ "Les comparaisons donnent des valeurs booléennes (``True`` ou ``False``). "
2080
+ "Cependant, les :dfn:`méthodes de comparaison riche` définies par "
2081
+ "l'utilisateur peuvent renvoyer des non-booléens. Dans ce cas, le résultat de "
2082
+ "la comparaison est converti en booléen avec :func:`bool` dans les contextes "
2083
+ "qui attendent un booléen."
2066
2084
2067
2085
#: reference/expressions.rst:1409
2068
2086
msgid ""
0 commit comments