Skip to content

Conversation

@eregnier
Copy link
Contributor

I am not sure about the * : ::* tokens, the render in the final python doc isn't good for me.
and the link
https://cnswww.cns.cwru.edu/php/chet/readline/rluserman.html#SEC9
seems broken at the moment.
I hope there is not too much left errors.

"Le module :mod:`readline` définit des fonctions pour faciliter la complétion "
"et la lecture/écriture des fichiers d'historique depuis l'interpréteur "
"Python. Ce module peut être utilisé directement, ou depuis le module :mod:"
"`rlcompleter`, qui supporte la complétion des mots clefs dans l'invite de "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dans la documentation, nous préférons "gérer" (ou autre si plus approprié) à "supporter" qui est un anglicisme. Remarque globale.

"et la lecture/écriture des fichiers d'historique depuis l'interpréteur "
"Python. Ce module peut être utilisé directement, ou depuis le module :mod:"
"`rlcompleter`, qui supporte la complétion des mots clefs dans l'invite de "
"commande interactive. Les paramétrages fait en utilisant ce module affectent "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/fait/faits/ (les paramétrages)

"utilisateur. Voir `Readline Init File <https://cnswww.cns.cwru.edu/php/chet/"
"readline/rluserman.html#SEC9>`_ dans le manuel GNU pour Readline pour des "
"information à propos du format et de la construction autorisée de ce "
"fichier, ainsi que les possibilités de la librairie Readline en général."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/librairie/bibliothèque/g (voir glossaire dans le README).

msgstr ""
"L'API de la librairie utilisée par Readline peut être implémentée par la "
"librairie ``libedit`` au lieu de GNU readline. Sur macOS le module :mod:"
"`readline` détecte quelle librairie va être utilisé au cours de l'exécution "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/utilisé/utilisée/ (la bibliothèque)

"between GNU readline and libedit."
msgstr ""
"Le fichier de configuration pour ``libedit`` est différent de celui de GNU "
"readline. Si vous chargez programmatiquement lignes de configuration vous "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si, dans votre programme, vous chargez les chaines de configuration ...

"is zero-based. This calls :c:func:`remove_history` in the underlying "
"library."
msgstr ""
"Supprime l'objet de l'historique définit par sa position depuis "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/définit/défini/

msgstr ""
"Active ou désactive les appels automatiques à la fonction :c:func:"
"`add_history` lors de la lecture d'une entrée via readline. L'argument "
"*enabled* devrait être une valeur booléenne qui lorsqu'elle est vraie, "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/devrait/doit/ (conditionnel idiomatique en anglais)

#: ../Doc/library/readline.rst:193
msgid "Startup hooks"
msgstr ""
msgstr "Hooks d'initialisation"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hook : point d'entrée ?

"saisie. Par défaut, Readline est configuré pour être utilisé par :mod:"
"`rlcompleter` pour compléter les mots clefs de Python pour l'interpréteur "
"interactif. Si le module :mod:`readline` doit être utilisé avec une "
"complétion spécifique, un ensemble de mots délimiteurs devraient être "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

conditionnel idiomatique à remplacer par un présent.

"set."
msgstr ""
"Récupére la fonction de complétion, ou ``None`` si aucune fonction de "
"complétion à été définie."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/à/ n'a/

@JulienPalard JulienPalard merged commit 64ec5c7 into python:3.7 Sep 30, 2018
@JulienPalard
Copy link
Member

Mergé ! Merci !!

@eregnier eregnier deleted the 3.7 branch October 5, 2018 22:47
@eregnier eregnier restored the 3.7 branch October 5, 2018 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants