# Copyright (C) 2001-2018, Python Software Foundation # For licence information, see README file. # msgid "" msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-08-24 09:01+0200\n" "PO-Revision-Date: 2022-10-18 12:31+0200\n" "Last-Translator: \n" "Language-Team: FRENCH \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Poedit 1.8.11\n" #: library/rlcompleter.rst:2 msgid ":mod:`rlcompleter` --- Completion function for GNU readline" msgstr ":mod:`rlcompleter` — Fonction de complétion pour *GNU readline*" #: library/rlcompleter.rst:9 msgid "**Source code:** :source:`Lib/rlcompleter.py`" msgstr "**Code source :** :source:`Lib/rlcompleter.py`" #: library/rlcompleter.rst:13 msgid "" "The :mod:`rlcompleter` module defines a completion function suitable for " "the :mod:`readline` module by completing valid Python identifiers and " "keywords." msgstr "" "Le module :mod:`rlcompleter` définit une fonction de complétion appropriée " "pour le module :mod:`readline` en complétant des identifiants et mots-clés " "Python valides." #: library/rlcompleter.rst:16 msgid "" "When this module is imported on a Unix platform with the :mod:`readline` " "module available, an instance of the :class:`Completer` class is " "automatically created and its :meth:`complete` method is set as the :mod:" "`readline` completer." msgstr "" "Quand le module est importé dans une plate-forme Unix et la méthode :meth:" "`complete` est configurée pour assurer la complétion de :mod:`readline`, une " "instance de classe :class:`Completer` est automatiquement créée et la " "méthode est configurée au finisseur :meth:`complete`" #: library/rlcompleter.rst:20 msgid "Example::" msgstr "Exemple ::" #: library/rlcompleter.rst:31 msgid "" "The :mod:`rlcompleter` module is designed for use with Python's :ref:" "`interactive mode `. Unless Python is run with the :option:" "`-S` option, the module is automatically imported and configured (see :ref:" "`rlcompleter-config`)." msgstr "" "Le module :mod:`rlcompleter` est conçu pour être utilisé par le :ref:`mode " "interactif ` de Python. À moins que Python ne soit exécuté " "avec l'option :option:`-S`, le module est automatiquement importé et " "configuré (voir :ref:`rlcompleter-config`)." #: library/rlcompleter.rst:36 msgid "" "On platforms without :mod:`readline`, the :class:`Completer` class defined " "by this module can still be used for custom purposes." msgstr "" "Sur les plate-formes sans :mod:`readline`, la classe :class:`Completer` " "définie par ce module peut quand même être utilisée pour des fins " "personnalisées." #: library/rlcompleter.rst:43 msgid "Completer Objects" msgstr "Objets pour la complétion (*Completer Objects*)" #: library/rlcompleter.rst:45 msgid "Completer objects have the following method:" msgstr "" "Les objets pour la complétion (*Completer objects* en anglais) disposent de " "la méthode suivante :" #: library/rlcompleter.rst:50 msgid "Return the *state*\\ th completion for *text*." msgstr "Renvoie la *state*\\ :sup:`e` complétion pour *text*." #: library/rlcompleter.rst:52 msgid "" "If called for *text* that doesn't include a period character (``'.'``), it " "will complete from names currently defined in :mod:`__main__`, :mod:" "`builtins` and keywords (as defined by the :mod:`keyword` module)." msgstr "" "Si *text* ne contient pas un caractère point (``'.'``), il puise dans les " "noms actuellement définis dans :mod:`__main__`, :mod:`builtins` ainsi que " "les mots-clés (ainsi que définis par le module :mod:`keyword`)" #: library/rlcompleter.rst:56 msgid "" "If called for a dotted name, it will try to evaluate anything without " "obvious side-effects (functions will not be evaluated, but it can generate " "calls to :meth:`__getattr__`) up to the last part, and find matches for the " "rest via the :func:`dir` function. Any exception raised during the " "evaluation of the expression is caught, silenced and :const:`None` is " "returned." msgstr "" "Quand elle est appelée pour un nom qui comporte un point, elle ne tente " "d'évaluer que ce qui n'a pas d'effet secondaire (les fonctions ne sont pas " "évaluées, mais elle peut faire des appels à :meth:`__getattr__`), jusqu'à la " "dernière partie, et trouve des équivalents pour le reste via la fonction :" "func:`dir`. Toute exception levée durant l'évaluation de l'expression est " "interceptée, mise sous silence, et :const:`None` est renvoyé."