library-functions #227
|
@ -549,7 +549,7 @@ 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 "
|
||||
"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
|
||||
|
||||
|
@ -993,7 +993,7 @@ 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 :meth:`~object.__complex__ n'est pas défini, alors il "
|
||||
"__complex__()``. Si :meth:`~object.__complex__` n'est pas défini, alors il "
|
||||
ChristopheNan marked this conversation as resolved
Outdated
ChristopheNan
commented
Il manque la fermeture de la balise meth Il manque la fermeture de la balise *meth*
eviau
commented
Merci ! Merci !
|
||||
"délègue à :meth:`~object.__float__`. Si :meth:`!__float__` n'est pas défini, "
|
||||
"alors il délègue à :meth:`~object.__index__`."
|
||||
|
||||
|
@ -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,7 @@ 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,14 +1702,13 @@ 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 "
|
||||
"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
|
||||
|
@ -1817,7 +1815,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,9 +1824,9 @@ 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__`, "
|
||||
"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."
|
||||
|
||||
|
@ -1893,17 +1890,15 @@ 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 +2191,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,8 +2198,8 @@ 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 "
|
||||
"\"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
|
||||
|
@ -2394,7 +2388,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,12 +2822,11 @@ 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 "
|
||||
"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
|
||||
|
@ -3865,9 +3857,8 @@ msgid "type"
|
|||
msgstr ""
|
||||
|
||||
#: library/functions.rst:571
|
||||
eviau marked this conversation as resolved
jmdev
commented
Il faudrait traduire les entrées de l'index. 3853: "booléen" Il faudrait traduire les entrées de l'index.
3853: "booléen"
3857: "type"
|
||||
#, fuzzy
|
||||
msgid "built-in function"
|
||||
msgstr "Fonctions natives"
|
||||
msgstr "fonctions natives"
|
||||
eviau marked this conversation as resolved
Outdated
ChristopheNan
commented
l'original est au singulier. l'original est au singulier.
|
||||
|
||||
#: library/functions.rst:571
|
||||
msgid "exec"
|
||||
|
@ -3890,18 +3881,16 @@ msgid "string"
|
|||
msgstr ""
|
||||
eviau marked this conversation as resolved
Outdated
jmdev
commented
3865: "exec" 3865: "exec"
3869: "NaN"
3873: "infini"
3877: "__format__"
3881: "chaîne"
|
||||
|
||||
#: library/functions.rst:713
|
||||
#, fuzzy
|
||||
msgid "format() (built-in function)"
|
||||
msgstr "Fonctions natives"
|
||||
msgstr "format() (fonction native)"
|
||||
eviau marked this conversation as resolved
Outdated
ChristopheNan
commented
D'après D'après ``pogrep --recursive --line-number --exclude-dir=venv --exclude-dir=locales '^string$'``, je pense que nous devrions converger vers *chaîne de caractères*.
|
||||
|
||||
#: library/functions.rst:1160
|
||||
msgid "file object"
|
||||
msgstr ""
|
||||
eviau marked this conversation as resolved
Outdated
jmdev
commented
"objet fichier" "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"
|
||||
|
@ -3936,7 +3925,6 @@ msgid "buffering"
|
|||
msgstr ""
|
||||
eviau marked this conversation as resolved
Outdated
jmdev
commented
3897: "fichier" 3897: "fichier"
3901: "modes"
3905: "retours à la ligne universels"
3909: "entrées-sorties avec tampon par ligne"
3913: "entrées-sorties sans tampon"
3917: "taille du tampon dans les entrées-sorties"
3921: "contrôle des entrées-sorties"
3925: "mise en tampon"
|
||||
|
||||
#: library/functions.rst:1342
|
||||
#, fuzzy
|
||||
msgid "text mode"
|
||||
msgstr "mode texte (par défaut)"
|
||||
eviau marked this conversation as resolved
Outdated
jmdev
commented
"mode texte" (pourquoi le "par défaut"?) "mode texte" (pourquoi le "par défaut"?)
eviau
commented
je pense que c'est un restant de l'ancienne traduction 😅 je pense que c'est un restant de l'ancienne traduction 😅
|
||||
|
||||
|
@ -3949,14 +3937,12 @@ msgid "sys"
|
|||
msgstr ""
|
||||
eviau marked this conversation as resolved
Outdated
jmdev
commented
3933: "module" 3933: "module"
3937: "sys"
|
||||
|
||||
#: library/functions.rst:1721
|
||||
#, fuzzy
|
||||
msgid "str() (built-in function)"
|
||||
msgstr "Fonctions natives"
|
||||
msgstr "str() (fonctions native)"
|
||||
eviau marked this conversation as resolved
Outdated
ChristopheNan
commented
pas de s à fonctions pas de *s* à *fonctions*
|
||||
|
||||
#: library/functions.rst:1832
|
||||
#, fuzzy
|
||||
msgid "object"
|
||||
msgstr ":func:`object`"
|
||||
msgstr "objet"
|
||||
|
||||
#: library/functions.rst:1987
|
||||
eviau marked this conversation as resolved
jmdev
commented
3949: "instruction" 3949: "instruction"
3953: "import"
3957: "builtins"
|
||||
msgid "statement"
|
||||
|
|
"pour plus de détails." plutôt que "pour les détails d'utilisation".