Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6414369

Browse files
authored
Merge pull request #4 from python/3.7
Updated branch
2 parents 60ab9d3 + 2aae5a6 commit 6414369

File tree

141 files changed

+4533
-1754
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+4533
-1754
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.tx/**/*.po
33
venv/
44
.idea/
5+
.DS_Store

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: python
2+
dist: xenial
23
python: 3.6
34
before_install:
45
- sudo apt-get update
@@ -8,4 +9,4 @@ install:
89
- pospell --version
910
script:
1011
- pospell -p dict -l fr_FR **/*.po
11-
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=d1e71758
12+
- make CPYTHON_CLONE=/tmp/cpython/ COMMIT=902196d867

Makefile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ upgrade_venv:
4444
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
4545

4646

47-
$(VENV)/bin/activate:
47+
$(VENV)/bin/activate: $(SPHINX_CONF)
4848
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) venv
4949

5050

@@ -55,9 +55,12 @@ progress:
5555
$(shell msgcat *.po */*.po | grep -c '^msgid')
5656

5757

58+
$(VENV)/bin/potodo: $(VENV)/bin/activate
59+
$(VENV)/bin/pip install potodo
60+
5861
.PHONY: todo
59-
todo:
60-
potodo --github python/python-docs-fr
62+
todo: $(VENV)/bin/potodo
63+
$(VENV)/bin/potodo --github python/python-docs-fr
6164

6265
.PHONY: merge
6366
merge: upgrade_venv
@@ -84,5 +87,5 @@ endif
8487

8588

8689
.PHONY: fuzzy
87-
fuzzy:
88-
potodo --github python/python-docs-fr -f
90+
fuzzy: $(VENV)/bin/potodo
91+
$(VENV)/bin/potodo --github python/python-docs-fr -f

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ French Translation of the Python Documentation
44
.. image:: https://travis-ci.org/python/python-docs-fr.svg?branch=3.7
55
:target: https://travis-ci.org/python/python-docs-fr
66

7-
**Translated: 35%**
7+
**Translated: 38%**
88

99
Documentation Contribution Agreement
1010
------------------------------------

c-api/abstract.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
9-
"PO-Revision-Date: 2018-02-15 00:28+0100\n"
10-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8+
"POT-Creation-Date: 2019-01-03 16:57+0100\n"
9+
"PO-Revision-Date: 2018-10-17 19:31+0200\n"
10+
"Last-Translator: \n"
1111
"Language-Team: FRENCH <[email protected]>\n"
1212
"Language: fr\n"
1313
"MIME-Version: 1.0\n"
1414
"Content-Type: text/plain; charset=UTF-8\n"
1515
"Content-Transfer-Encoding: 8bit\n"
16+
"X-Generator: Poedit 2.2\n"
1617

1718
#: ../Doc/c-api/abstract.rst:7
1819
msgid "Abstract Objects Layer"

c-api/allocation.po

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2017-05-27 19:40+0200\n"
9-
"PO-Revision-Date: 2018-10-04 11:13+0200\n"
9+
"PO-Revision-Date: 2018-10-20 21:16+0200\n"
1010
"Last-Translator: Julien Palard <[email protected]>\n"
1111
"Language-Team: FRENCH <[email protected]>\n"
1212
"Language: fr\n"
1313
"MIME-Version: 1.0\n"
1414
"Content-Type: text/plain; charset=UTF-8\n"
1515
"Content-Transfer-Encoding: 8bit\n"
16-
"X-Generator: Poedit 2.0.4\n"
16+
"X-Generator: Poedit 2.2\n"
1717

1818
#: ../Doc/c-api/allocation.rst:6
1919
msgid "Allocating Objects on the Heap"
@@ -38,8 +38,9 @@ msgid ""
3838
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
3939
"length information for a variable-size object."
4040
msgstr ""
41-
"Ça fait tout ce que :c:func:`PyObject_Init` fait, et il initialise également "
42-
"l'information de la longueur pour un objet de taille variable."
41+
"Effectue les mêmes opérations que :c:func:`PyObject_Init` fait, et "
42+
"initialise également l'information de la longueur pour un objet de taille "
43+
"variable."
4344

4445
#: ../Doc/c-api/allocation.rst:32
4546
msgid ""
@@ -50,10 +51,10 @@ msgid ""
5051
"tp_basicsize` field of the type object."
5152
msgstr ""
5253
"Alloue un nouvel objet Python en utilisant le type de structure C *TYPE* et "
53-
"l'objet de type python *type*. Les champs non définis par l'en-tête de "
54-
"l'objet Python ne sont pas initialisés; le compteur de la référence objet "
55-
"sera un. La taille de l'allocation de la mémoire est déterminé par le champs "
56-
"de l'objet type :c:member:`~PyTypeObject.tp_basicsize`."
54+
"l'objet Python *type*. Les champs non définis par l'en-tête de l'objet "
55+
"Python ne sont pas initialisés; le compteur de la référence objet sera égal "
56+
"à un. La taille de l'allocation mémoire est déterminée par le champ :c:"
57+
"member:`~PyTypeObject.tp_basicsize` de l'objet type."
5758

5859
#: ../Doc/c-api/allocation.rst:41
5960
msgid ""
@@ -67,10 +68,10 @@ msgid ""
6768
"of allocations, improving the memory management efficiency."
6869
msgstr ""
6970
"Alloue un nouvel objet Python en utilisant le type de structure C *TYPE* et "
70-
"l'objet de type Python *type*. Les champs non définis par l'en-tête de "
71+
"l'objet Python de type *type*. Les champs non définis par l'en-tête de "
7172
"l'objet Python ne sont pas initialisés. La mémoire allouée est suffisante "
72-
"pour pour la structure *TYPE* plus *size* champs de la taille donnée par le "
73-
"champ de *type* :c:member:`~PyTypeObject.tp_itemsize`. C'est utile pour "
73+
"pour la structure *TYPE* plus *size* champs de la taille donnée par le champ "
74+
"de *type* :c:member:`~PyTypeObject.tp_itemsize`. Ceci est utile pour "
7475
"l'implémentation d'objets comme les tuples, qui sont capables de déterminer "
7576
"leur taille à la construction. Allouer les champs en même temps que l'objet "
7677
"diminue le nombre d'allocations, améliorant ainsi les performances."
@@ -84,10 +85,10 @@ msgid ""
8485
"no longer a valid Python object."
8586
msgstr ""
8687
"Libère la mémoire allouée à un objet utilisant :c:func:`PyObject_New` ou :c:"
87-
"func:`PyObject_NewVar`. C'est normalement appelé par le gestionnaire :c:"
88-
"member:`~PyTypeObject.tp_dealloc` spécifié dans le type d'objet. Le champ de "
89-
"l'objet ne devrait pas être accessible après cet appel puisque la mémoire "
90-
"n'est plus un objet Python valide."
88+
"func:`PyObject_NewVar`. Ceci est normalement appelé par le gestionnaire :c:"
89+
"member:`~PyTypeObject.tp_dealloc` spécifié dans le type d'objet. Les champs "
90+
"de l'objet ne doivent plus être accédés après cet appel puisque cet "
91+
"emplacement mémoire ne correspond plus à un objet Python valide."
9192

9293
#: ../Doc/c-api/allocation.rst:62
9394
msgid ""

c-api/complex.po

Lines changed: 51 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ msgstr ""
66
"Project-Id-Version: Python 3.6\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2017-09-21 09:15+0200\n"
9-
"PO-Revision-Date: 2018-02-15 00:31+0100\n"
10-
"Last-Translator: \n"
9+
"PO-Revision-Date: 2019-01-14 20:31+0100\n"
10+
"Last-Translator: ANTOINE FOURES <[email protected]>\n"
1111
"Language-Team: FRENCH <[email protected]>\n"
1212
"Language: fr\n"
1313
"MIME-Version: 1.0\n"
@@ -17,7 +17,7 @@ msgstr ""
1717

1818
#: ../Doc/c-api/complex.rst:6
1919
msgid "Complex Number Objects"
20-
msgstr "Objets nombres complexes"
20+
msgstr "Objets représentant des nombres complexes"
2121

2222
#: ../Doc/c-api/complex.rst:10
2323
msgid ""
@@ -26,10 +26,10 @@ msgid ""
2626
"and the other is a C structure which represents the actual complex number "
2727
"value. The API provides functions for working with both."
2828
msgstr ""
29-
"Les objets Python nombres complexes sont implémentés comme deux types "
30-
"distincts, lorsqu'ils sont vus de l'API C : l'un est l'objet Python tel "
31-
"qu'il est vu par les programmes Python, et l'autre est une structure C qui "
32-
"représente la valeur complexe courante. L'API fournit des fonctions pour "
29+
"Les nombres complexes Python sont implémentés comme deux types distincts, "
30+
"lorsqu'ils sont vus de l'API C : l'un est l'objet Python tel qu'il est vu "
31+
"par les programmes Python, et l'autre est une structure C qui représente la "
32+
"valeur exacte du nombre complexe. L'API fournit des fonctions pour "
3333
"travailler avec ces deux représentations."
3434

3535
#: ../Doc/c-api/complex.rst:17
@@ -42,9 +42,9 @@ msgid ""
4242
"return them as results do so *by value* rather than dereferencing them "
4343
"through pointers. This is consistent throughout the API."
4444
msgstr ""
45-
"Remarquez que les fonctions qui acceptent ces structures comme paramètres et "
46-
"les renvoient comme résultats le font *par valeur* au lieur de les dé-"
47-
"référencer en utilisant des pointeurs. Cela est constant dans toute l'API."
45+
"Les fonctions qui acceptent ces structures comme paramètres et les renvoient "
46+
"comme résultats le font en fonction de leur *valeur* au lieu de les dé-"
47+
"référencer en utilisant des pointeurs. C'est constant dans toute l'API."
4848

4949
#: ../Doc/c-api/complex.rst:26
5050
msgid ""
@@ -53,54 +53,73 @@ msgid ""
5353
"objects use structures of this type as input or output values, as "
5454
"appropriate. It is defined as::"
5555
msgstr ""
56+
"Structure C représentant la valeur d'un nombre complexe Python. La majorité "
57+
"des fonctions qui traitent des nombres complexes utilisent cette structure "
58+
"en entrée ou en sortie, selon le cas. Elle est définie par ::"
5659

5760
#: ../Doc/c-api/complex.rst:39
5861
msgid ""
5962
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
6063
"representation."
6164
msgstr ""
65+
"Renvoie la somme de deux nombres complexes, sous la forme d'un :c:type:"
66+
"`Py_complex` en C."
6267

6368
#: ../Doc/c-api/complex.rst:45
6469
msgid ""
6570
"Return the difference between two complex numbers, using the C :c:type:"
6671
"`Py_complex` representation."
6772
msgstr ""
73+
"Renvoie la différence de deux nombres complexes, sous la forme d'un :c:type:"
74+
"`Py_complex` en C."
6875

6976
#: ../Doc/c-api/complex.rst:51
7077
msgid ""
7178
"Return the negation of the complex number *complex*, using the C :c:type:"
7279
"`Py_complex` representation."
7380
msgstr ""
81+
"Renvoie l'opposé du nombre complexe *complex*, sous la forme d'un :c:type:"
82+
"`Py_complex` en C."
7483

7584
#: ../Doc/c-api/complex.rst:57
7685
msgid ""
7786
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
7887
"representation."
7988
msgstr ""
89+
"Renvoie le produit de deux nombres complexes, sous la forme d'un :c:type:"
90+
"`Py_complex` en C."
8091

8192
#: ../Doc/c-api/complex.rst:63
8293
msgid ""
8394
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
8495
"representation."
8596
msgstr ""
97+
"Renvoie le quotient de deux nombres complexes, sous la forme d'un :c:type:"
98+
"`Py_complex` en C."
8699

87100
#: ../Doc/c-api/complex.rst:66
88101
msgid ""
89102
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
90103
"c:data:`EDOM`."
91104
msgstr ""
105+
"Si *divisor* est nul, cette méthode renvoie zéro et assigne :c:data:`EDOM` "
106+
"à :c:data:`errno`."
92107

93108
#: ../Doc/c-api/complex.rst:72
94109
msgid ""
95110
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
96111
"`Py_complex` representation."
97112
msgstr ""
113+
"Renvoie *num* à la puissance *exp*, sous la forme d'un :c:type:`Py_complex` "
114+
"en C."
98115

99116
#: ../Doc/c-api/complex.rst:75
100117
msgid ""
101118
"If *num* is null and *exp* is not a positive real number, this method "
102119
"returns zero and sets :c:data:`errno` to :c:data:`EDOM`."
103120
msgstr ""
121+
"Si *num* est nul et *exp* n'est pas un nombre réel positif, cette méthode "
122+
"renvoie zéro et assigne :c:data:`EDOM` à :c:data:`errno`."
104123

105124
#: ../Doc/c-api/complex.rst:80
106125
msgid "Complex Numbers as Python Objects"
@@ -110,50 +129,72 @@ msgstr "Nombres complexes en tant qu'objets Python"
110129
msgid ""
111130
"This subtype of :c:type:`PyObject` represents a Python complex number object."
112131
msgstr ""
132+
"Ce sous-type de l'objet :c:type:`PyObject` représente un nombre complexe en "
133+
"Python."
113134

114135
#: ../Doc/c-api/complex.rst:90
115136
msgid ""
116137
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
117138
"type. It is the same object as :class:`complex` in the Python layer."
118139
msgstr ""
140+
"Cette instance de :c:type:`PyTypeObject` représente le type nombre complexe "
141+
"Python. C'est le même objet que la classe :class:`complex` de la couche "
142+
"Python."
119143

120144
#: ../Doc/c-api/complex.rst:96
121145
msgid ""
122146
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
123147
"c:type:`PyComplexObject`."
124148
msgstr ""
149+
"Renvoie vrai si l'argument est de type :c:type:`PyComplexObject` ou un sous-"
150+
"type de :c:type:`PyComplexObject`."
125151

126152
#: ../Doc/c-api/complex.rst:102
127153
msgid ""
128154
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
129155
"subtype of :c:type:`PyComplexObject`."
130156
msgstr ""
157+
"Renvoie vrai si l'argument est de type :c:type:`PyComplexObject`, mais pas "
158+
"un sous-type de :c:type:`PyComplexObject`."
131159

132160
#: ../Doc/c-api/complex.rst:108
133161
msgid ""
134162
"Create a new Python complex number object from a C :c:type:`Py_complex` "
135163
"value."
136164
msgstr ""
165+
"Crée un nouveau nombre complexe à partir de la valeur d'un :c:type:"
166+
"`Py_complex` en C."
137167

138168
#: ../Doc/c-api/complex.rst:113
139169
msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
140170
msgstr ""
171+
"Renvoie un nouveau :c:type:`PyComplexObject` à partir de *real* et de *imag*."
141172

142173
#: ../Doc/c-api/complex.rst:118
143174
msgid "Return the real part of *op* as a C :c:type:`double`."
144175
msgstr ""
176+
"Renvoie la partie réelle du nombre complexe *op* sous la forme d'un :c:type:"
177+
"`double` en C."
145178

146179
#: ../Doc/c-api/complex.rst:123
147180
msgid "Return the imaginary part of *op* as a C :c:type:`double`."
148181
msgstr ""
182+
"Renvoie la partie imaginaire du nombre complexe *op* sous la forme d'un :c:"
183+
"type:`double` en C."
149184

150185
#: ../Doc/c-api/complex.rst:128
151186
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
152187
msgstr ""
188+
"Renvoie la valeur du nombre complexe *op* sous la forme d'un :c:type:"
189+
"`Py_complex` en C."
153190

154191
#: ../Doc/c-api/complex.rst:130
155192
msgid ""
156193
"If *op* is not a Python complex number object but has a :meth:`__complex__` "
157194
"method, this method will first be called to convert *op* to a Python complex "
158195
"number object. Upon failure, this method returns ``-1.0`` as a real value."
159196
msgstr ""
197+
"Si *op* n'est pas un nombre complexe Python mais a une méthode :meth:"
198+
"`__complex__`, cette méthode est d'abord appelée pour convertir *op* en "
199+
"nombre complexe Python. En cas d'échec, cette méthode renvoie ``-1.0`` en "
200+
"tant que nombre réel."

0 commit comments

Comments
 (0)