forked from AFPy/python-docs-fr
220 lines
5.8 KiB
Plaintext
220 lines
5.8 KiB
Plaintext
# 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-01-27 19:26+0100\n"
|
||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
||
"Language: fr\n"
|
||
"MIME-Version: 1.0\n"
|
||
"Content-Type: text/plain; charset=UTF-8\n"
|
||
"Content-Transfer-Encoding: 8bit\n"
|
||
|
||
#: library/symtable.rst:2
|
||
msgid ":mod:`symtable` --- Access to the compiler's symbol tables"
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:7
|
||
msgid "**Source code:** :source:`Lib/symtable.py`"
|
||
msgstr "**Code source :** :source:`Lib/symtable.py`"
|
||
|
||
#: library/symtable.rst:15
|
||
msgid ""
|
||
"Symbol tables are generated by the compiler from AST just before bytecode is "
|
||
"generated. The symbol table is responsible for calculating the scope of "
|
||
"every identifier in the code. :mod:`symtable` provides an interface to "
|
||
"examine these tables."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:22
|
||
msgid "Generating Symbol Tables"
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:26
|
||
msgid ""
|
||
"Return the toplevel :class:`SymbolTable` for the Python source *code*. "
|
||
"*filename* is the name of the file containing the code. *compile_type* is "
|
||
"like the *mode* argument to :func:`compile`."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:32
|
||
msgid "Examining Symbol Tables"
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:36
|
||
msgid "A namespace table for a block. The constructor is not public."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:40
|
||
msgid ""
|
||
"Return the type of the symbol table. Possible values are ``'class'``, "
|
||
"``'module'``, and ``'function'``."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:45
|
||
msgid "Return the table's identifier."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:49
|
||
msgid ""
|
||
"Return the table's name. This is the name of the class if the table is for "
|
||
"a class, the name of the function if the table is for a function, or "
|
||
"``'top'`` if the table is global (:meth:`get_type` returns ``'module'``)."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:55
|
||
msgid "Return the number of the first line in the block this table represents."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:59
|
||
msgid "Return ``True`` if the locals in this table can be optimized."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:63
|
||
msgid "Return ``True`` if the block is a nested class or function."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:67
|
||
msgid ""
|
||
"Return ``True`` if the block has nested namespaces within it. These can be "
|
||
"obtained with :meth:`get_children`."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:72
|
||
msgid "Return a list of names of symbols in this table."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:76
|
||
msgid "Lookup *name* in the table and return a :class:`Symbol` instance."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:80
|
||
msgid "Return a list of :class:`Symbol` instances for names in the table."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:84
|
||
msgid "Return a list of the nested symbol tables."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:89
|
||
msgid ""
|
||
"A namespace for a function or method. This class inherits :class:"
|
||
"`SymbolTable`."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:94
|
||
msgid "Return a tuple containing names of parameters to this function."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:98
|
||
msgid "Return a tuple containing names of locals in this function."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:102
|
||
msgid "Return a tuple containing names of globals in this function."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:106
|
||
msgid "Return a tuple containing names of nonlocals in this function."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:110
|
||
msgid "Return a tuple containing names of free variables in this function."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:115
|
||
msgid "A namespace of a class. This class inherits :class:`SymbolTable`."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:119
|
||
msgid "Return a tuple containing the names of methods declared in the class."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:124
|
||
msgid ""
|
||
"An entry in a :class:`SymbolTable` corresponding to an identifier in the "
|
||
"source. The constructor is not public."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:129
|
||
msgid "Return the symbol's name."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:133
|
||
msgid "Return ``True`` if the symbol is used in its block."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:137
|
||
msgid "Return ``True`` if the symbol is created from an import statement."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:141
|
||
msgid "Return ``True`` if the symbol is a parameter."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:145
|
||
msgid "Return ``True`` if the symbol is global."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:149
|
||
msgid "Return ``True`` if the symbol is nonlocal."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:153
|
||
msgid ""
|
||
"Return ``True`` if the symbol is declared global with a global statement."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:157
|
||
msgid "Return ``True`` if the symbol is local to its block."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:161
|
||
msgid "Return ``True`` if the symbol is annotated."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:167
|
||
msgid ""
|
||
"Return ``True`` if the symbol is referenced in its block, but not assigned "
|
||
"to."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:172
|
||
msgid "Return ``True`` if the symbol is assigned to in its block."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:176
|
||
msgid "Return ``True`` if name binding introduces new namespace."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:178
|
||
msgid ""
|
||
"If the name is used as the target of a function or class statement, this "
|
||
"will be true."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:181
|
||
msgid "For example::"
|
||
msgstr "Par exemple ::"
|
||
|
||
#: library/symtable.rst:187
|
||
msgid ""
|
||
"Note that a single name can be bound to multiple objects. If the result is "
|
||
"``True``, the name may also be bound to other objects, like an int or list, "
|
||
"that does not introduce a new namespace."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:193
|
||
msgid "Return a list of namespaces bound to this name."
|
||
msgstr ""
|
||
|
||
#: library/symtable.rst:197
|
||
msgid ""
|
||
"Return the namespace bound to this name. If more than one namespace is "
|
||
"bound, :exc:`ValueError` is raised."
|
||
msgstr ""
|