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