library-functions #227

Merged
ygingras merged 8 commits from eviau/python-docs-fr:library-functions into 3.11 2023-12-12 15:16:35 +00:00
Showing only changes of commit 9f04b918d1 - Show all commits

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"
@ -482,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 ""
@ -549,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 les détails d'utilisation."
eviau marked this conversation as resolved Outdated
Outdated
Review

"pour plus de détails." plutôt que "pour les détails d'utilisation".

"pour plus de détails." plutôt que "pour les détails d'utilisation".
#: 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 ""
@ -981,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 "
@ -989,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 "
ChristopheNan marked this conversation as resolved Outdated

Il manque la fermeture de la balise meth

Il manque la fermeture de la balise *meth*
Outdated
Review

Merci !

Merci !
"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
@ -1018,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."
"revient à :meth:`~object.__index__` si :meth:`~object.__complex__` et :meth:"
"`~object.__float__` ne sont pas définies."
eviau marked this conversation as resolved
Review

"délègue à" plutôt que "revient à" (pour être cohérent avec le paragraphe précédent)

"délègue à" plutôt que "revient à" (pour être cohérent avec le paragraphe précédent)
#: library/functions.rst:409
msgid ""
@ -1401,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 "
@ -1427,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."
@ -1485,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."
@ -1509,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 ""
"revient à :meth:`~object.__index__` si :meth:`~object.__float__` n'est pas "
eviau marked this conversation as resolved Outdated
Outdated
Review

"délègue à" plutôt que "revient à"

"délègue à" plutôt que "revient à"
"définie."
#: library/functions.rst:719
msgid ""