@@ -114,6 +114,9 @@ msgid ""
114114"A label associated with a variable, a class attribute or a function "
115115"parameter or return value, used by convention as a :term:`type hint`."
116116msgstr ""
117+ "Étiquette associée à une variable, un attribut de classe, un paramètre de "
118+ "fonction ou une valeur de retour. Elle est utilisé par convention comme :"
119+ "term:`type hint`."
117120
118121#: ../Doc/glossary.rst:48
119122msgid ""
@@ -122,12 +125,18 @@ msgid ""
122125"in the :attr:`__annotations__` special attribute of modules, classes, and "
123126"functions, respectively."
124127msgstr ""
128+ "Les annotations de variables locales ne sont pas accessibles au moment de "
129+ "l'exécution, mais les annotations de variables globales, d'attributs de "
130+ "classe et de fonctions sont stockées dans l'attribut spécial :attr:"
131+ "`__annotations__` des modules, classes et fonctions, respectivement."
125132
126133#: ../Doc/glossary.rst:54
127134msgid ""
128135"See :term:`variable annotation`, :term:`function annotation`, :pep:`484` "
129136"and :pep:`526`, which describe this functionality."
130137msgstr ""
138+ "Voir :term:`variable annotation`, :term:`function annotation`, :pep:`484` "
139+ "et :pep:`526`, qui décrivent cette fonctionnalité."
131140
132141#: ../Doc/glossary.rst:56
133142msgid "argument"
@@ -463,6 +472,8 @@ msgid ""
463472"A variable defined in a class and intended to be modified only at class "
464473"level (i.e., not in an instance of the class)."
465474msgstr ""
475+ "Une variable définie dans une classe et destinée à être modifiée uniquement "
476+ "au niveau de la classe (c'est-à-dire, pas dans une instance de la classe)."
466477
467478#: ../Doc/glossary.rst:196
468479msgid "coercion"
@@ -929,24 +940,32 @@ msgstr "annotation de fonction"
929940
930941#: ../Doc/glossary.rst:389
931942msgid "An :term:`annotation` of a function parameter or return value."
932- msgstr ""
943+ msgstr ":term:`annotation` d'un paramètre de fonction ou valeur de retour "
933944
934945#: ../Doc/glossary.rst:391
935946msgid ""
936947"Function annotations are usually used for :term:`type hints <type hint>`: "
937948"for example this function is expected to take two :class:`int` arguments and "
938949"is also expected to have an :class:`int` return value::"
939950msgstr ""
951+ "Les annotations de fonctions sont généralement utilisées pour des :term:"
952+ "`indications de types <type hint>` : par exemple, cette fonction devrait "
953+ "prendre deux arguments :class:`int` et devrait également avoir une valeur de "
954+ "retour de type :class:`int` ::"
940955
941956#: ../Doc/glossary.rst:399
942957msgid "Function annotation syntax is explained in section :ref:`function`."
943958msgstr ""
959+ "L'annotation syntaxique de la fonction est expliquée dans la section :ref:"
960+ "`function`."
944961
945962#: ../Doc/glossary.rst:401
946963msgid ""
947964"See :term:`variable annotation` and :pep:`484`, which describe this "
948965"functionality."
949966msgstr ""
967+ "Voir :term:`variable annotation` et :pep:` 484`, qui décrivent cette "
968+ "fonctionnalité."
950969
951970#: ../Doc/glossary.rst:403
952971msgid "__future__"
@@ -1517,7 +1536,7 @@ msgstr ""
15171536
15181537#: ../Doc/glossary.rst:641
15191538msgid "list comprehension"
1520- msgstr "liste en compréhension"
1539+ msgstr "liste en compréhension (ou liste en intension) "
15211540
15221541#: ../Doc/glossary.rst:643
15231542msgid ""
@@ -2045,7 +2064,7 @@ msgstr ""
20452064
20462065#: ../Doc/glossary.rst:856
20472066msgid "PEP"
2048- msgstr ""
2067+ msgstr "PEP "
20492068
20502069#: ../Doc/glossary.rst:858
20512070msgid ""
@@ -2054,6 +2073,11 @@ msgid ""
20542073"or its processes or environment. PEPs should provide a concise technical "
20552074"specification and a rationale for proposed features."
20562075msgstr ""
2076+ "Python Enhancement Proposal (Proposition d'amélioration Python). Un PEP est "
2077+ "un document de conception fournissant des informations à la communauté "
2078+ "Python ou décrivant une nouvelle fonctionnalité pour Python, ses processus "
2079+ "ou son environnement. Les PEP doivent fournir une spécification technique "
2080+ "concise et une justification des fonctionnalités proposées."
20572081
20582082#: ../Doc/glossary.rst:864
20592083msgid ""
@@ -2063,10 +2087,16 @@ msgid ""
20632087"responsible for building consensus within the community and documenting "
20642088"dissenting opinions."
20652089msgstr ""
2090+ "Les PEPs sont censés être les principaux mécanismes pour proposer de "
2091+ "nouvelles fonctionnalités majeures, pour recueillir les commentaires de la "
2092+ "communauté sur une question et pour documenter les décisions de conception "
2093+ "qui sont intégreés en Python. L’auteur du PEP est responsable de "
2094+ "l’établissement d’un consensus au sein de la communauté et de documenter les "
2095+ "opinions contradictoires."
20662096
20672097#: ../Doc/glossary.rst:870
20682098msgid "See :pep:`1`."
2069- msgstr ""
2099+ msgstr "Voir :pep:`1`. "
20702100
20712101#: ../Doc/glossary.rst:871
20722102msgid "portion"
@@ -2410,6 +2440,8 @@ msgid ""
24102440"See also :term:`binary file` for a file object able to read and write :term:"
24112441"`bytes-like objects <bytes-like object>`."
24122442msgstr ""
2443+ "Voir aussi :term:`binary file` pour un objet fichier capable de lire et "
2444+ "d'écrire :term:`bytes-like objects <bytes-like object>`."
24132445
24142446#: ../Doc/glossary.rst:1028
24152447msgid "triple-quoted string"
@@ -2454,21 +2486,23 @@ msgstr ""
24542486
24552487#: ../Doc/glossary.rst:1045
24562488msgid "A synonym for a type, created by assigning the type to an identifier."
2457- msgstr ""
2489+ msgstr "Synonyme d'un type, créé en affectant le type à un identifiant. "
24582490
24592491#: ../Doc/glossary.rst:1047
24602492msgid ""
24612493"Type aliases are useful for simplifying :term:`type hints <type hint>`. For "
24622494"example::"
24632495msgstr ""
2496+ "Les alias de types sont utiles pour simplifier les :term:`indications de "
2497+ "types <type hint>`. Par exemple ::"
24642498
24652499#: ../Doc/glossary.rst:1056
24662500msgid "could be made more readable like this::"
2467- msgstr ""
2501+ msgstr "pourrait être rendu plus lisible comme ceci :: "
24682502
24692503#: ../Doc/glossary.rst:1065 ../Doc/glossary.rst:1079
24702504msgid "See :mod:`typing` and :pep:`484`, which describe this functionality."
2471- msgstr ""
2505+ msgstr "Voir :mod:`typing` et :pep:`484`, qui décrivent cette fonctionnalité. "
24722506
24732507#: ../Doc/glossary.rst:1066
24742508msgid "type hint"
@@ -2479,19 +2513,27 @@ msgid ""
24792513"An :term:`annotation` that specifies the expected type for a variable, a "
24802514"class attribute, or a function parameter or return value."
24812515msgstr ""
2516+ "Le :term:`annotation` qui spécifie le type attendu pour une variable, un "
2517+ "attribut de classe, un paramètre de fonction ou une valeur de retour."
24822518
24832519#: ../Doc/glossary.rst:1071
24842520msgid ""
24852521"Type hints are optional and are not enforced by Python but they are useful "
24862522"to static type analysis tools, and aid IDEs with code completion and "
24872523"refactoring."
24882524msgstr ""
2525+ "Les indications de type sont facultatifs et ne sont pas indispensables à "
2526+ "l'interpréteur Python, mais ils sont utiles aux outils d'analyse de type "
2527+ "statique et aident les IDE à compléter et à refactoriser le code."
24892528
24902529#: ../Doc/glossary.rst:1075
24912530msgid ""
24922531"Type hints of global variables, class attributes, and functions, but not "
24932532"local variables, can be accessed using :func:`typing.get_type_hints`."
24942533msgstr ""
2534+ "Les indicateurs de type de variables globales, d'attributs de classe et de "
2535+ "fonctions, mais pas de variables locales, peuvent être consultés en "
2536+ "utilisant :func:`typing.get_type_hints`."
24952537
24962538#: ../Doc/glossary.rst:1080
24972539msgid "universal newlines"
@@ -2517,28 +2559,37 @@ msgstr "annotation de variable"
25172559
25182560#: ../Doc/glossary.rst:1089
25192561msgid "An :term:`annotation` of a variable or a class attribute."
2520- msgstr ""
2562+ msgstr ":term:`annotation` d'une variable ou d'un attribut de classe. "
25212563
25222564#: ../Doc/glossary.rst:1091
25232565msgid ""
25242566"When annotating a variable or a class attribute, assignment is optional::"
25252567msgstr ""
2568+ "Lorsque vous annotez une variable ou un attribut de classe, l'affectation "
2569+ "est facultative ::"
25262570
25272571#: ../Doc/glossary.rst:1096
25282572msgid ""
25292573"Variable annotations are usually used for :term:`type hints <type hint>`: "
25302574"for example this variable is expected to take :class:`int` values::"
25312575msgstr ""
2576+ "Les annotations de variables sont généralement utilisées pour des :term:"
2577+ "`indications de types <type hint>` : par exemple, cette variable devrait "
2578+ "prendre des valeurs de type :class:`int` ::"
25322579
25332580#: ../Doc/glossary.rst:1102
25342581msgid "Variable annotation syntax is explained in section :ref:`annassign`."
25352582msgstr ""
2583+ "La syntaxe d'annotation de la variable est expliquée dans la section :ref:"
2584+ "`annassign`."
25362585
25372586#: ../Doc/glossary.rst:1104
25382587msgid ""
25392588"See :term:`function annotation`, :pep:`484` and :pep:`526`, which describe "
25402589"this functionality."
25412590msgstr ""
2591+ "Reportez-vous à :term:`function annotation`, à la :pep:` 484` et à la :pep:"
2592+ "`526` qui décrivent cette fonctionnalité."
25422593
25432594#: ../Doc/glossary.rst:1106
25442595msgid "virtual environment"
0 commit comments