# 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: 2021-09-23 16:16+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \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" #: library/pyclbr.rst:2 msgid ":mod:`pyclbr` --- Python module browser support" msgstr "" #: library/pyclbr.rst:9 msgid "**Source code:** :source:`Lib/pyclbr.py`" msgstr "**Code source :** :source:`Lib/pyclbr.py`" #: library/pyclbr.rst:13 msgid "" "The :mod:`pyclbr` module provides limited information about the functions, " "classes, and methods defined in a Python-coded module. The information is " "sufficient to implement a module browser. The information is extracted from " "the Python source code rather than by importing the module, so this module " "is safe to use with untrusted code. This restriction makes it impossible to " "use this module with modules not implemented in Python, including all " "standard and optional extension modules." msgstr "" #: library/pyclbr.rst:25 msgid "" "Return a dictionary mapping module-level class names to class descriptors. " "If possible, descriptors for imported base classes are included. Parameter " "*module* is a string with the name of the module to read; it may be the name " "of a module within a package. If given, *path* is a sequence of directory " "paths prepended to ``sys.path``, which is used to locate the module source " "code." msgstr "" #: library/pyclbr.rst:32 msgid "" "This function is the original interface and is only kept for back " "compatibility. It returns a filtered version of the following." msgstr "" #: library/pyclbr.rst:38 msgid "" "Return a dictionary-based tree containing a function or class descriptors " "for each function and class defined in the module with a ``def`` or " "``class`` statement. The returned dictionary maps module-level function and " "class names to their descriptors. Nested objects are entered into the " "children dictionary of their parent. As with readmodule, *module* names the " "module to be read and *path* is prepended to sys.path. If the module being " "read is a package, the returned dictionary has a key ``'__path__'`` whose " "value is a list containing the package search path." msgstr "" #: library/pyclbr.rst:48 msgid "" "Descriptors for nested definitions. They are accessed through the new " "children attribute. Each has a new parent attribute." msgstr "" #: library/pyclbr.rst:52 msgid "" "The descriptors returned by these functions are instances of Function and " "Class classes. Users are not expected to create instances of these classes." msgstr "" #: library/pyclbr.rst:60 msgid "Function Objects" msgstr "Objets fonctions" #: library/pyclbr.rst:61 msgid "" "Class :class:`Function` instances describe functions defined by def " "statements. They have the following attributes:" msgstr "" #: library/pyclbr.rst:67 msgid "Name of the file in which the function is defined." msgstr "" #: library/pyclbr.rst:72 msgid "The name of the module defining the function described." msgstr "" #: library/pyclbr.rst:77 msgid "The name of the function." msgstr "" #: library/pyclbr.rst:132 msgid "The line number in the file where the definition starts." msgstr "" #: library/pyclbr.rst:87 msgid "For top-level functions, None. For nested functions, the parent." msgstr "" #: library/pyclbr.rst:144 msgid "" "A dictionary mapping names to descriptors for nested functions and classes." msgstr "" #: library/pyclbr.rst:102 msgid "" "``True`` for functions that are defined with the ``async`` prefix, ``False`` " "otherwise." msgstr "" #: library/pyclbr.rst:110 msgid "Class Objects" msgstr "Objets classes" #: library/pyclbr.rst:111 msgid "" "Class :class:`Class` instances describe classes defined by class " "statements. They have the same attributes as Functions and two more." msgstr "" #: library/pyclbr.rst:117 msgid "Name of the file in which the class is defined." msgstr "" #: library/pyclbr.rst:122 msgid "The name of the module defining the class described." msgstr "" #: library/pyclbr.rst:127 msgid "The name of the class." msgstr "" #: library/pyclbr.rst:137 msgid "For top-level classes, None. For nested classes, the parent." msgstr "" #: library/pyclbr.rst:152 msgid "" "A list of :class:`Class` objects which describe the immediate base classes " "of the class being described. Classes which are named as superclasses but " "which are not discoverable by :func:`readmodule_ex` are listed as a string " "with the class name instead of as :class:`Class` objects." msgstr "" #: library/pyclbr.rst:161 msgid "" "A dictionary mapping method names to line numbers. This can be derived from " "the newer children dictionary, but remains for back-compatibility." msgstr ""