forked from AFPy/python-docs-fr
Typography.
This commit is contained in:
parent 6a18cf090e
commit 96a8366782
2 changed files with 11 additions and 12 deletions
| | @ -211,6 +211,7 @@ bug bogue, *bug* | |||
built-in native | ||||
call stack pile d'appels | ||||
debugging débogage | ||||
deep copy copie récursive (préféré), ou copie profonde. | ||||
double quote guillemet | ||||
e.g. e.g. (pour *exempli gratia*) | ||||
garbage collector ramasse-miettes | ||||
| | | |||
| | @ -6,7 +6,7 @@ msgstr "" | |||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-08-10 00:49+0200\n" | ||||
"PO-Revision-Date: 2018-09-23 09:14+0200\n" | ||||
"PO-Revision-Date: 2018-09-25 09:04+0200\n" | ||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||
"Language: fr\n" | ||||
"MIME-Version: 1.0\n" | ||||
| | @ -15,14 +15,13 @@ msgstr "" | |||
"Last-Translator: \n" | ||||
"X-Generator: Poedit 2.0.4\n" | ||||
| ||||
# Ce commentaire est valable pour l'ensemble du document. deep copy doit être traduit par copie profonde ou copie récursive ? Pour ma part, je pense que copie récursive est beaucoup plus explicite. | ||||
#: ../Doc/library/copy.rst:2 | ||||
msgid ":mod:`copy` --- Shallow and deep copy operations" | ||||
msgstr ":mod:`copy` --- Opérations de copie superficielle et récursive" | ||||
| ||||
#: ../Doc/library/copy.rst:7 | ||||
msgid "**Source code:** :source:`Lib/copy.py`" | ||||
msgstr "**Code source:** :source:`Lib/copy.py`" | ||||
msgstr "**Code source :** :source:`Lib/copy.py`" | ||||
| ||||
#: ../Doc/library/copy.rst:11 | ||||
msgid "" | ||||
| | @ -41,7 +40,7 @@ msgstr "" | |||
| ||||
#: ../Doc/library/copy.rst:18 | ||||
msgid "Interface summary:" | ||||
msgstr "Résumé de l'interface :" | ||||
msgstr "Résumé de l'interface :" | ||||
| ||||
#: ../Doc/library/copy.rst:22 | ||||
msgid "Return a shallow copy of *x*." | ||||
| | @ -63,7 +62,7 @@ msgid "" | |||
msgstr "" | ||||
"La différence entre copie superficielle et récursive n'est pertinente que " | ||||
"pour les objets composés (objets contenant d'autres objets, comme des listes " | ||||
"ou des instances de classe) :" | ||||
"ou des instances de classe) :" | ||||
| ||||
#: ../Doc/library/copy.rst:38 | ||||
msgid "" | ||||
| | @ -89,7 +88,7 @@ msgid "" | |||
"shallow copy operations:" | ||||
msgstr "" | ||||
"On rencontre souvent deux problèmes avec les opérations de copie récursive " | ||||
"qui n'existent pas avec les opérations de copie superficielle :" | ||||
"qui n'existent pas avec les opérations de copie superficielle :" | ||||
| ||||
#: ../Doc/library/copy.rst:47 | ||||
msgid "" | ||||
| | @ -109,7 +108,7 @@ msgstr "" | |||
| ||||
#: ../Doc/library/copy.rst:53 | ||||
msgid "The :func:`deepcopy` function avoids these problems by:" | ||||
msgstr "La fonction :func:`deepcopy` évite ces problèmes en :" | ||||
msgstr "La fonction :func:`deepcopy` évite ces problèmes en :" | ||||
| ||||
#: ../Doc/library/copy.rst:55 | ||||
msgid "" | ||||
| | @ -117,7 +116,7 @@ msgid "" | |||
"copying pass; and" | ||||
msgstr "" | ||||
"gardant un dictionnaire \"memo\" d'objets déjà copiés durant la phase de " | ||||
"copie actuelle ; et" | ||||
"copie actuelle ; et" | ||||
| ||||
#: ../Doc/library/copy.rst:58 | ||||
msgid "" | ||||
| | @ -138,7 +137,7 @@ msgstr "" | |||
"Ce module ne copie pas les types tels que module, méthode, trace d'appels, " | ||||
"cadre de pile, fichier, socket, fenêtre, tableau, ou tout autre type " | ||||
"similaire. Il \"copie\" les fonctions et les classes (superficiellement et " | ||||
"récursivement), en retournant l'objet original inchangé ; c'est compatible " | ||||
"récursivement), en retournant l'objet original inchangé ; c'est compatible " | ||||
"avec la manière dont ils sont traités par le module :mod:`pickle`." | ||||
| ||||
#: ../Doc/library/copy.rst:66 | ||||
| | @ -152,7 +151,6 @@ msgstr "" | |||
"exemple, ``copied_list = original_list[:]``." | ||||
| ||||
#: ../Doc/library/copy.rst:72 | ||||
#, fuzzy | ||||
msgid "" | ||||
"Classes can use the same interfaces to control copying that they use to " | ||||
"control pickling. See the description of module :mod:`pickle` for " | ||||
| | @ -178,9 +176,9 @@ msgid "" | |||
msgstr "" | ||||
"Afin qu'une classe définisse sa propre implémentation de copie, elle peut " | ||||
"définir les méthodes spéciales :meth:`__copy__` et :meth:`__deepcopy__`. La " | ||||
"première est appelée pour implémenter l'opération de copie superficielle ; " | ||||
"première est appelée pour implémenter l'opération de copie superficielle ; " | ||||
"aucun argument supplémentaire n'est passé. La seconde est appelée pour " | ||||
"implémenter l'opération de copie récursive ; elle reçoit un argument, le " | ||||
"implémenter l'opération de copie récursive ; elle reçoit un argument, le " | ||||
"dictionnaire `memo`. Si l'implémentation de :meth:`__deepcopy__` a besoin de " | ||||
"faire une copie récursive d'un composant, elle devrait appeler la fonction :" | ||||
"func:`deepcopy` avec le composant comme premier argument et le dictionnaire " | ||||
| | | |||
Loading…
Add table
Add a link
Reference in a new issue