library-functions (#227)

Closes #226

Reviewed-on: AFPy/python-docs-fr#227
Reviewed-by: Yannick Gingras <ygingras@noreply.localhost>
Co-authored-by: eviau <info@eviau.net>
Co-committed-by: eviau <info@eviau.net>
This commit is contained in:
eviau 2023-12-12 15:16:34 +00:00 committed by Yannick Gingras
parent 51bae6fc38
commit 9ebdd501ac
1 changed files with 68 additions and 78 deletions

View File

@ -6,15 +6,15 @@ msgstr ""
"Project-Id-Version: Python 3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-23 14:38+0200\n"
"PO-Revision-Date: 2023-11-06 11:44+0100\n"
"Last-Translator: Antoine Wecxsteen\n"
"PO-Revision-Date: 2023-11-19 12:43-0500\n"
"Last-Translator: Édith Viau <info@eviau.net>\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"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.2.1\n"
"X-Generator: Poedit 3.0.1\n"
#: library/functions.rst:11
msgid "Built-in Functions"
@ -475,7 +475,6 @@ msgstr ""
"renvoie :func:`repr` dans Python 2."
#: library/functions.rst:123
#, fuzzy
msgid ""
"Convert an integer number to a binary string prefixed with \"0b\". The "
"result is a valid Python expression. If *x* is not a Python :class:`int` "
@ -483,9 +482,9 @@ msgid ""
"integer. Some examples:"
msgstr ""
"Convertit un nombre entier en binaire dans une chaîne avec le préfixe "
"``\"0b\"``. Le résultat est une expression Python valide. Si *x* n'est pas "
"un :class:`int`, il doit définir une méthode :meth:`__index__` donnant un "
"nombre entier. Voici quelques exemples :"
"\"0b\". Le résultat est une expression Python valide. Si *x* n'est pas un :"
"class:`int`, il doit définir une méthode :meth:`__index__` donnant un nombre "
"entier. Voici quelques exemples :"
#: library/functions.rst:133
msgid ""
@ -550,12 +549,17 @@ msgid ""
"envvar:`PYTHONBREAKPOINT` environment variable. See :func:`sys."
"breakpointhook` for usage details."
msgstr ""
"Par défaut, le comportement de la fonction :func:`breakpoint` peut être "
"changé par la variable d'environnement :envvar:`PYTHONBREAKPOINT`. Voir :"
"func:`sys.breakpointhook` pour plus de détails."
#: library/functions.rst:175
msgid ""
"Note that this is not guaranteed if :func:`sys.breakpointhook` has been "
"replaced."
msgstr ""
"Notez que ceci n'est plus garanti si la fonction :func:`sys.breakpointhook` "
"a été remplacée."
#: library/functions.rst:178
msgid ""
@ -982,7 +986,6 @@ msgstr ""
"``0j``."
#: library/functions.rst:385
#, fuzzy
msgid ""
"For a general Python object ``x``, ``complex(x)`` delegates to ``x."
"__complex__()``. If :meth:`~object.__complex__` is not defined then it "
@ -990,9 +993,9 @@ msgid ""
"defined then it falls back to :meth:`~object.__index__`."
msgstr ""
"Pour un objet Python général ``x``, ``complex(x)`` délègue à ``x."
"__complex__()``. Si ``__complex__()`` n'est pas défini, alors il délègue à :"
"meth:`__float__`. Si ``__float__()`` n'est pas défini, alors il délègue à :"
"meth:`__index__`."
"__complex__()``. Si :meth:`~object.__complex__` n'est pas défini, alors il "
"délègue à :meth:`~object.__float__`. Si :meth:`!__float__` n'est pas défini, "
"alors il délègue à :meth:`~object.__index__`."
# suit un :
#: library/functions.rst:392
@ -1019,13 +1022,12 @@ msgstr ""
# suit un :
#: library/functions.rst:402
#, fuzzy
msgid ""
"Falls back to :meth:`~object.__index__` if :meth:`~object.__complex__` and :"
"meth:`~object.__float__` are not defined."
msgstr ""
"revient à :meth:`__index__` si :meth:`__complex__` et :meth:`__float__` ne "
"sont pas définies."
"délègue à :meth:`~object.__index__` si :meth:`~object.__complex__` et :meth:"
"`~object.__float__` ne sont pas définies."
#: library/functions.rst:409
msgid ""
@ -1402,7 +1404,6 @@ msgid "Added the *closure* parameter."
msgstr "ajout du paramètre *closure*."
#: library/functions.rst:631
#, fuzzy
msgid ""
"Construct an iterator from those elements of *iterable* for which *function* "
"is true. *iterable* may be either a sequence, a container which supports "
@ -1428,7 +1429,6 @@ msgstr ""
"``None``."
#: library/functions.rst:642
#, fuzzy
msgid ""
"See :func:`itertools.filterfalse` for the complementary function that "
"returns elements of *iterable* for which *function* is false."
@ -1486,15 +1486,14 @@ msgstr ""
"`OverflowError` est levée."
#: library/functions.rst:682
#, fuzzy
msgid ""
"For a general Python object ``x``, ``float(x)`` delegates to ``x."
"__float__()``. If :meth:`~object.__float__` is not defined then it falls "
"back to :meth:`~object.__index__`."
msgstr ""
"Pour un objet Python général ``x``, ``float(x)`` est délégué à ``x."
"__float__()``. Si ``__float__()`` n'est pas défini alors il est délégué à :"
"meth:`__index__`."
"__float__()``. Si :meth:`~object.__float__` n'est pas défini alors il est "
"délégué à :meth:`~object.__index__`."
#: library/functions.rst:686
msgid "If no argument is given, ``0.0`` is returned."
@ -1510,11 +1509,12 @@ msgstr "Le type *float* est décrit dans :ref:`typesnumeric`."
# suit un :
#: library/functions.rst:709
#, fuzzy
msgid ""
"Falls back to :meth:`~object.__index__` if :meth:`~object.__float__` is not "
"defined."
msgstr "revient à :meth:`__index__` si :meth:`__float__` n'est pas définie."
msgstr ""
"délègue à :meth:`~object.__index__` si :meth:`~object.__float__` n'est pas "
"définie."
#: library/functions.rst:719
msgid ""
@ -1646,7 +1646,6 @@ msgstr ""
# suit un :
#: library/functions.rst:794
#, fuzzy
msgid ""
"For objects with custom :meth:`__hash__` methods, note that :func:`hash` "
"truncates the return value based on the bit width of the host machine. See :"
@ -1654,7 +1653,8 @@ msgid ""
msgstr ""
"pour les objets dont la méthode :meth:`__hash__` est implémentée, notez que :"
"func:`hash` tronque la valeur donnée en fonction du nombre de bits de la "
"machine hôte. Voir :meth:`__hash__` pour plus d'information."
"machine hôte. Voir :meth:`__hash__ <object.__hash__>` pour plus "
"d'information."
#: library/functions.rst:801
msgid ""
@ -1703,15 +1703,14 @@ msgstr ""
"signatures des appelables plus compréhensibles et cohérentes."
#: library/functions.rst:822
#, fuzzy
msgid ""
"Convert an integer number to a lowercase hexadecimal string prefixed with "
"\"0x\". If *x* is not a Python :class:`int` object, it has to define an :"
"meth:`~object.__index__` method that returns an integer. Some examples:"
msgstr ""
"Convertit un entier en chaîne hexadécimale préfixée de ``0x``. Si *x* n'est "
"pas un :class:`int`, il doit définir une méthode :meth:`__index__` qui "
"renvoie un entier. Quelques exemples :"
"Convertit un entier en chaîne hexadécimale préfixée de \"0x\". Si *x* n'est "
"pas un :class:`int`, il doit définir une méthode :meth:`~object.__index__` "
"qui renvoie un entier. Quelques exemples :"
#: library/functions.rst:831
msgid ""
@ -1817,7 +1816,6 @@ msgstr ""
"le résultat après avoir lu avec succès l'entrée."
#: library/functions.rst:894
#, fuzzy
msgid ""
"Return an integer object constructed from a number or string *x*, or return "
"``0`` if no arguments are given. If *x* defines :meth:`~object.__int__`, "
@ -1827,11 +1825,11 @@ msgid ""
"truncates towards zero."
msgstr ""
"Renvoie un entier construit depuis un nombre ou une chaîne *x*, ou ``0`` si "
"aucun argument n'est fourni. Si *x* définit une méthode :meth:`__int__`, "
"``int(x)`` renvoie ``x.__int__()``. Si *x* définit :meth:`__index__`, "
"``int(x)`` renvoie ``x.__index__()`` Si *x* définit :meth:`__trunc__`, "
"``int(x)`` renvoie ``x.__trunc__()``. Les nombres à virgule flottante sont "
"tronqués vers zéro."
"aucun argument n'est fourni. Si *x* définit une méthode :meth:`~object."
"__int__`, ``int(x)`` renvoie ``x.__int__()``. Si *x* définit :meth:`~object."
"__index__`, ``int(x)`` renvoie ``x.__index__()`` Si *x* définit :meth:"
"`~object.__trunc__`, ``int(x)`` renvoie ``x.__trunc__()``. Les nombres à "
"virgule flottante sont tronqués vers zéro."
#: library/functions.rst:901
msgid ""
@ -1893,17 +1891,17 @@ msgstr ""
"<object.__index__>`."
#: library/functions.rst:933
#, fuzzy
msgid ""
"Falls back to :meth:`~object.__index__` if :meth:`~object.__int__` is not "
"defined."
msgstr "Revient à :meth:`__index__` si :meth:`__int__` n'est pas définie."
msgstr ""
"Revient à :meth:`~object.__index__` si :meth:`~object.__int__` n'est pas "
"définie."
# suit un :
#: library/functions.rst:936
#, fuzzy
msgid "The delegation to :meth:`~object.__trunc__` is deprecated."
msgstr "le repli vers :meth:`__trunc__` est obsolète."
msgstr "le repli vers :meth:`~object.__trunc__` est obsolète."
#: library/functions.rst:939
msgid ""
@ -2196,7 +2194,6 @@ msgstr ""
"`object`."
#: library/functions.rst:1138
#, fuzzy
msgid ""
"Convert an integer number to an octal string prefixed with \"0o\". The "
"result is a valid Python expression. If *x* is not a Python :class:`int` "
@ -2204,9 +2201,9 @@ msgid ""
"integer. For example:"
msgstr ""
"Convertit un entier en sa représentation octale dans une chaîne préfixée de "
"``0o``. Le résultat est une expression Python valide. Si *x* n'est pas un "
"objet :class:`int`, il doit définir une méthode :meth:`__index__` qui donne "
"un entier, par exemple :"
"\"0o\". Le résultat est une expression Python valide. Si *x* n'est pas un "
"objet :class:`int`, il doit définir une méthode :meth:`~object.__index__` "
"qui donne un entier, par exemple :"
#: library/functions.rst:1148
msgid ""
@ -2394,7 +2391,6 @@ msgstr ""
# énumération
#: library/functions.rst:1231
#, fuzzy
msgid ""
"Binary files are buffered in fixed-size chunks; the size of the buffer is "
"chosen using a heuristic trying to determine the underlying device's \"block "
@ -2829,13 +2825,13 @@ msgstr ""
"ci utilisez plutôt ``file.write(...)``."
#: library/functions.rst:1453
#, fuzzy
msgid ""
"Output buffering is usually determined by *file*. However, if *flush* is "
"true, the stream is forcibly flushed."
msgstr ""
"Que la sortie utilise un tampon ou non est souvent décidé par *file*, mais "
"si l'argument *flush* est vrai, le tampon du flux est vidé explicitement."
"Que la sortie utilise un tampon ou non est souvent décidé par *file*. "
"Cependant, si l'argument *flush* est vrai, le tampon du flux est vidé "
"explicitement."
#: library/functions.rst:1457
msgid "Added the *flush* keyword argument."
@ -3858,117 +3854,111 @@ msgstr ""
#: library/functions.rst:152
msgid "Boolean"
msgstr ""
msgstr "booléen"
#: library/functions.rst:1832
msgid "type"
msgstr ""
msgstr "type"
#: library/functions.rst:571
#, fuzzy
msgid "built-in function"
msgstr "Fonctions natives"
msgstr "fonction native"
#: library/functions.rst:571
msgid "exec"
msgstr ""
msgstr "exec"
#: library/functions.rst:648
msgid "NaN"
msgstr ""
msgstr "NaN"
#: library/functions.rst:648
msgid "Infinity"
msgstr ""
msgstr "infini"
#: library/functions.rst:713
msgid "__format__"
msgstr ""
msgstr "__format__"
#: library/functions.rst:1721
msgid "string"
msgstr ""
msgstr "chaîne de caractères"
#: library/functions.rst:713
#, fuzzy
msgid "format() (built-in function)"
msgstr "Fonctions natives"
msgstr "format() (fonction native)"
#: library/functions.rst:1160
msgid "file object"
msgstr ""
msgstr "objet fichier"
#: library/functions.rst:1281
#, fuzzy
msgid "open() built-in function"
msgstr "Fonctions natives"
msgstr "open() fonction native"
#: library/functions.rst:1188
msgid "file"
msgstr ""
msgstr "fichier"
#: library/functions.rst:1188
msgid "modes"
msgstr ""
msgstr "modes"
#: library/functions.rst:1281
msgid "universal newlines"
msgstr ""
msgstr "retours à la ligne universels"
#: library/functions.rst:1342
msgid "line-buffered I/O"
msgstr ""
msgstr "entrées-sorties avec tampon par ligne"
#: library/functions.rst:1342
msgid "unbuffered I/O"
msgstr ""
msgstr "entrées-sorties sans tampon"
#: library/functions.rst:1342
msgid "buffer size, I/O"
msgstr ""
msgstr "taille du tampon, entrées-sorties"
#: library/functions.rst:1342
msgid "I/O control"
msgstr ""
msgstr "contrôle des entrées-sorties"
#: library/functions.rst:1342
msgid "buffering"
msgstr ""
msgstr "mise en tampon"
#: library/functions.rst:1342
#, fuzzy
msgid "text mode"
msgstr "mode texte (par défaut)"
msgstr "mode texte"
#: library/functions.rst:1987
msgid "module"
msgstr ""
msgstr "module"
#: library/functions.rst:1342
msgid "sys"
msgstr ""
msgstr "sys"
#: library/functions.rst:1721
#, fuzzy
msgid "str() (built-in function)"
msgstr "Fonctions natives"
msgstr "*str()* (fonction native)"
#: library/functions.rst:1832
#, fuzzy
msgid "object"
msgstr ":func:`object`"
msgstr "objet"
#: library/functions.rst:1987
msgid "statement"
msgstr ""
msgstr "instruction"
#: library/functions.rst:1987
msgid "import"
msgstr ""
msgstr "import"
#: library/functions.rst:1987
msgid "builtins"
msgstr ""
msgstr "builtins"
#~ msgid ""
#~ "There is an additional mode character permitted, ``'U'``, which no longer "