Skip to content

Commit 5c3222f

Browse files
FateEventJulienPalard
authored andcommitted
fixed ~10 fuzzy library/functions
1 parent cd0b9e2 commit 5c3222f

File tree

1 file changed

+30
-38
lines changed

1 file changed

+30
-38
lines changed

library/functions.po

Lines changed: 30 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgstr ""
66
"Project-Id-Version: Python 3\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2024-11-01 00:16+0100\n"
9-
"PO-Revision-Date: 2023-11-19 12:43-0500\n"
9+
"PO-Revision-Date: 2024-11-03 21:36+0100\n"
1010
"Last-Translator: Édith Viau <info@eviau.net>\n"
1111
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
1212
"Language: fr\n"
@@ -393,15 +393,15 @@ msgid ":func:`__import__`"
393393
msgstr ":func:`__import__`"
394394

395395
#: library/functions.rst:59
396-
#, fuzzy
397396
msgid ""
398397
"Return the absolute value of a number. The argument may be an integer, a "
399398
"floating-point number, or an object implementing :meth:`~object.__abs__`. If "
400399
"the argument is a complex number, its magnitude is returned."
401400
msgstr ""
402401
"Renvoie la valeur absolue d'un nombre. L'argument peut être un nombre "
403402
"entier, un nombre à virgule flottante, ou tout objet définissant :meth:"
404-
"`__abs__`. Si l'argument est un nombre complexe, son module est renvoyé."
403+
"`~object.__abs__`. Si l'argument est un nombre complexe, son module est "
404+
"renvoyé."
405405

406406
#: library/functions.rst:67
407407
msgid ""
@@ -500,7 +500,6 @@ msgid "See also :func:`format` for more information."
500500
msgstr "Voir aussi :func:`format` pour plus d'informations."
501501

502502
#: library/functions.rst:146
503-
#, fuzzy
504503
msgid ""
505504
"Return a Boolean value, i.e. one of ``True`` or ``False``. The argument is "
506505
"converted using the standard :ref:`truth testing procedure <truth>`. If the "
@@ -510,20 +509,18 @@ msgid ""
510509
"``False`` and ``True`` (see :ref:`typebool`)."
511510
msgstr ""
512511
"Renvoie une valeur booléenne, c'est-à-dire soit ``True``, soit ``False``. "
513-
"*x* est converti en utilisant la :ref:`procédure standard d'évaluation de "
514-
"valeur de vérité <truth>`. Si *x* est faux, ou omis, elle renvoie ``False``, "
515-
"sinon, elle renvoie ``True``. La classe :class:`bool` hérite de la classe :"
516-
"class:`int` (voir :ref:`typesnumeric`). Il n'est pas possible d'en hériter, "
517-
"ses seules instances sont ``False`` et ``True`` (voir :ref:`bltin-boolean-"
518-
"values`)."
512+
"L'argument est converti en utilisant la :ref:`procédure standard "
513+
"d'évaluation de valeur de vérité <truth>`. Si l'argument est faux, ou omis, "
514+
"elle renvoie ``False``, sinon, elle renvoie ``True``. La classe :class:"
515+
"`bool` hérite de la classe :class:`int` (voir :ref:`typesnumeric`). Il n'est "
516+
"pas possible d'en hériter. Ses seules instances sont ``False`` et ``True`` "
517+
"(voir :ref:`typebool`)."
519518

520519
#: library/functions.rst:807
521-
#, fuzzy
522520
msgid "The parameter is now positional-only."
523-
msgstr "*x* est désormais un argument exclusivement positionnel."
521+
msgstr "Le paramètre est désormais un argument exclusivement positionnel."
524522

525523
#: library/functions.rst:161
526-
#, fuzzy
527524
msgid ""
528525
"This function drops you into the debugger at the call site. Specifically, "
529526
"it calls :func:`sys.breakpointhook`, passing ``args`` and ``kws`` straight "
@@ -538,7 +535,7 @@ msgstr ""
538535
"Cette fonction vous place dans le débogueur lorsqu'elle est appelée. Plus "
539536
"précisément, elle appelle :func:`sys.breakpointhook`, en lui passant les "
540537
"arguments ``args`` et ``kws``. Par défaut, ``sys.breakpointhook()`` appelle :"
541-
"func:`pdb.set_trace()` qui n'attend aucun argument. Dans ce cas, c'est "
538+
"func:`pdb.set_trace` qui n'attend aucun argument. Dans ce cas, c'est "
542539
"purement une fonction de commodité donc vous n'avez pas à importer "
543540
"explicitement :mod:`pdb` ou à taper plus de code pour entrer dans le "
544541
"débogueur. Cependant, il est possible d'affecter une autre fonction à :func:"
@@ -673,7 +670,6 @@ msgstr ""
673670
"Voir aussi :ref:`binaryseq`, :ref:`typebytes`, et :ref:`bytes-methods`."
674671

675672
#: library/functions.rst:236
676-
#, fuzzy
677673
msgid ""
678674
"Return :const:`True` if the *object* argument appears callable, :const:"
679675
"`False` if not. If this returns ``True``, it is still possible that a call "
@@ -686,7 +682,7 @@ msgstr ""
686682
"appel échoue. Cependant, lorsqu'elle renvoie ``False``, il n'est jamais "
687683
"possible d'appeler *object*. Notez qu'une classe est toujours appelable "
688684
"(appeler une classe donne une nouvelle instance) ; une instance n'est "
689-
"appelable que si sa classe définit une méthode :meth:`__call__`."
685+
"appelable que si sa classe définit une méthode :meth:`~object.__call__`."
690686

691687
# suit un :
692688
#: library/functions.rst:242
@@ -772,16 +768,16 @@ msgstr ""
772768

773769
# suit un :
774770
#: library/functions.rst:285
775-
#, fuzzy
776771
msgid ""
777772
"Class methods now inherit the method attributes (:attr:`~function."
778773
"__module__`, :attr:`~function.__name__`, :attr:`~function.__qualname__`, :"
779774
"attr:`~function.__doc__` and :attr:`~function.__annotations__`) and have a "
780775
"new ``__wrapped__`` attribute."
781776
msgstr ""
782-
"les méthodes de classe héritent dorénavant des attributs des méthodes "
783-
"(``__module__``, ``__name__``, ``__qualname__``, ``__doc__`` et "
784-
"``__annotations__``) et ont un nouvel attribut ``__wrapped__``."
777+
"les méthodes de classe héritent dorénavant des attributs des méthodes (:attr:"
778+
"`~function.__module__`, :attr:`~function.__name__`, :attr:`~function."
779+
"__qualname__`, :attr:`~function.__doc__` et :attr:`~function."
780+
"__annotations__`) et ont un nouvel attribut ``__wrapped__``."
785781

786782
# suit un :
787783
#: library/functions.rst:292
@@ -970,9 +966,8 @@ msgid ""
970966
msgstr ""
971967

972968
#: library/functions.rst:752 library/functions.rst:998
973-
#, fuzzy
974969
msgid "Examples:"
975-
msgstr "Exemples ::"
970+
msgstr "Exemples :"
976971

977972
#: library/functions.rst:405
978973
msgid ""
@@ -990,7 +985,6 @@ msgid ""
990985
msgstr ""
991986

992987
#: library/functions.rst:424
993-
#, fuzzy
994988
msgid ""
995989
"If the argument is a number, the constructor serves as a numeric conversion "
996990
"like :class:`int` and :class:`float`. For a general Python object ``x``, "
@@ -999,10 +993,11 @@ msgid ""
999993
"If :meth:`!__float__` is not defined then it falls back to :meth:`~object."
1000994
"__index__`."
1001995
msgstr ""
1002-
"Pour un objet Python général ``x``, ``complex(x)`` délègue à ``x."
1003-
"__complex__()``. Si :meth:`~object.__complex__` n'est pas défini, alors il "
1004-
"délègue à :meth:`~object.__float__`. Si :meth:`!__float__` n'est pas défini, "
1005-
"alors il délègue à :meth:`~object.__index__`."
996+
"Si l'argument est un nombre, le constructeur le convertit, comme le font les "
997+
"classes :class:`int` et :class:`float`. Pour les autres objets ``x``, "
998+
"``complex(x)`` délègue à ``x.__complex__()``. Si :meth:`~object.__complex__` "
999+
"n'est pas définie, elle délègue à :meth:`~object.__float__`. Si :meth:`!"
1000+
"__float__` n'est pas défini, alors elle délègue à :meth:`~object.__index__`."
10061001

10071002
#: library/functions.rst:433
10081003
msgid ""
@@ -1081,33 +1076,31 @@ msgstr ""
10811076
"cet objet."
10821077

10831078
#: library/functions.rst:483
1084-
#, fuzzy
10851079
msgid ""
10861080
"If the object has a method named :meth:`~object.__dir__`, this method will "
10871081
"be called and must return the list of attributes. This allows objects that "
10881082
"implement a custom :func:`~object.__getattr__` or :func:`~object."
10891083
"__getattribute__` function to customize the way :func:`dir` reports their "
10901084
"attributes."
10911085
msgstr ""
1092-
"Si l'objet a une méthode :meth:`__dir__`, elle est appelée et doit donner "
1093-
"une liste d'attributs. Cela permet aux objets implémentant :func:"
1094-
"`__getattr__` ou :func:`__getattribute__` de personnaliser ce que renvoie :"
1095-
"func:`dir`."
1086+
"Si l'objet a une méthode :meth:`~object.__dir__`, elle est appelée et doit "
1087+
"donner une liste d'attributs. Cela permet aux objets implémentant :func:"
1088+
"`~object.__getattr__` ou :func:`~object.__getattribute__` de personnaliser "
1089+
"ce que renvoie :func:`dir`."
10961090

10971091
#: library/functions.rst:490
1098-
#, fuzzy
10991092
msgid ""
11001093
"If the object does not provide :meth:`~object.__dir__`, the function tries "
11011094
"its best to gather information from the object's :attr:`~object.__dict__` "
11021095
"attribute, if defined, and from its type object. The resulting list is not "
11031096
"necessarily complete and may be inaccurate when the object has a custom :"
11041097
"func:`~object.__getattr__`."
11051098
msgstr ""
1106-
"Si l'objet ne fournit pas de méthode :meth:`__dir__`, la fonction fait de "
1107-
"son mieux en rassemblant les informations de l'attribut :attr:`~object."
1108-
"__dict__` de l'objet, s'il est défini, et depuis son type. La liste "
1099+
"Si l'objet ne fournit pas de méthode :meth:`~object.__dir__`, la fonction "
1100+
"fait de son mieux en rassemblant les informations de l'attribut :attr:"
1101+
"`~object.__dict__` de l'objet, s'il est défini, et depuis son type. La liste "
11091102
"résultante n'est pas nécessairement complète, et peut être erronée quand "
1110-
"l'objet a une :func:`__getattr__` personnalisée."
1103+
"l'objet a une :func:`~object.__getattr__` personnalisée."
11111104

11121105
#: library/functions.rst:496
11131106
msgid ""
@@ -1168,7 +1161,6 @@ msgstr ""
11681161
"méta-classes ne sont pas donnés lorsque l'argument est une classe."
11691162

11701163
#: library/functions.rst:540
1171-
#, fuzzy
11721164
msgid ""
11731165
"Take two (non-complex) numbers as arguments and return a pair of numbers "
11741166
"consisting of their quotient and remainder when using integer division. "

0 commit comments

Comments
 (0)