2018-07-04 09:06:45 +00:00
|
|
|
|
# Copyright (C) 2001-2018, Python Software Foundation
|
2018-07-04 09:08:42 +00:00
|
|
|
|
# For licence information, see README file.
|
2016-10-30 09:46:26 +00:00
|
|
|
|
#
|
|
|
|
|
msgid ""
|
|
|
|
|
msgstr ""
|
|
|
|
|
"Project-Id-Version: Python 3.6\n"
|
|
|
|
|
"Report-Msgid-Bugs-To: \n"
|
2017-04-02 20:14:06 +00:00
|
|
|
|
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
|
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
2018-07-04 09:14:25 +00:00
|
|
|
|
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
2017-05-23 22:40:56 +00:00
|
|
|
|
"Language: fr\n"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
"MIME-Version: 1.0\n"
|
|
|
|
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
|
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:2
|
|
|
|
|
msgid ":mod:`symtable` --- Access to the compiler's symbol tables"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:7
|
|
|
|
|
msgid "**Source code:** :source:`Lib/symtable.py`"
|
|
|
|
|
msgstr "**Code source :** :source:`Lib/symtable.py`"
|
|
|
|
|
|
|
|
|
|
#: ../Doc/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 ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:22
|
|
|
|
|
msgid "Generating Symbol Tables"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/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 ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:32
|
|
|
|
|
msgid "Examining Symbol Tables"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:36
|
|
|
|
|
msgid "A namespace table for a block. The constructor is not public."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:40
|
|
|
|
|
msgid ""
|
|
|
|
|
"Return the type of the symbol table. Possible values are ``'class'``, "
|
|
|
|
|
"``'module'``, and ``'function'``."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:45
|
|
|
|
|
msgid "Return the table's identifier."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/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 ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:55
|
|
|
|
|
msgid "Return the number of the first line in the block this table represents."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:59
|
|
|
|
|
msgid "Return ``True`` if the locals in this table can be optimized."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:63
|
|
|
|
|
msgid "Return ``True`` if the block is a nested class or function."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:67
|
|
|
|
|
msgid ""
|
|
|
|
|
"Return ``True`` if the block has nested namespaces within it. These can be "
|
|
|
|
|
"obtained with :meth:`get_children`."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:72
|
|
|
|
|
msgid "Return ``True`` if the block uses ``exec``."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:76
|
|
|
|
|
msgid "Return a list of names of symbols in this table."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:80
|
|
|
|
|
msgid "Lookup *name* in the table and return a :class:`Symbol` instance."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:84
|
|
|
|
|
msgid "Return a list of :class:`Symbol` instances for names in the table."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:88
|
|
|
|
|
msgid "Return a list of the nested symbol tables."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:93
|
|
|
|
|
msgid ""
|
|
|
|
|
"A namespace for a function or method. This class inherits :class:"
|
|
|
|
|
"`SymbolTable`."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:98
|
|
|
|
|
msgid "Return a tuple containing names of parameters to this function."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:102
|
|
|
|
|
msgid "Return a tuple containing names of locals in this function."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:106
|
|
|
|
|
msgid "Return a tuple containing names of globals in this function."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:110
|
|
|
|
|
msgid "Return a tuple containing names of free variables in this function."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:115
|
|
|
|
|
msgid "A namespace of a class. This class inherits :class:`SymbolTable`."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:119
|
|
|
|
|
msgid "Return a tuple containing the names of methods declared in the class."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:124
|
|
|
|
|
msgid ""
|
|
|
|
|
"An entry in a :class:`SymbolTable` corresponding to an identifier in the "
|
|
|
|
|
"source. The constructor is not public."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:129
|
|
|
|
|
msgid "Return the symbol's name."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:133
|
|
|
|
|
msgid "Return ``True`` if the symbol is used in its block."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:137
|
|
|
|
|
msgid "Return ``True`` if the symbol is created from an import statement."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:141
|
|
|
|
|
msgid "Return ``True`` if the symbol is a parameter."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:145
|
|
|
|
|
msgid "Return ``True`` if the symbol is global."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:149
|
|
|
|
|
msgid ""
|
|
|
|
|
"Return ``True`` if the symbol is declared global with a global statement."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:153
|
|
|
|
|
msgid "Return ``True`` if the symbol is local to its block."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:157
|
|
|
|
|
msgid ""
|
|
|
|
|
"Return ``True`` if the symbol is referenced in its block, but not assigned "
|
|
|
|
|
"to."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:162
|
|
|
|
|
msgid "Return ``True`` if the symbol is assigned to in its block."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:166
|
|
|
|
|
msgid "Return ``True`` if name binding introduces new namespace."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:168
|
|
|
|
|
msgid ""
|
|
|
|
|
"If the name is used as the target of a function or class statement, this "
|
|
|
|
|
"will be true."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:171
|
|
|
|
|
msgid "For example::"
|
2018-07-03 09:49:47 +00:00
|
|
|
|
msgstr "Par exemple ::"
|
2016-10-30 09:46:26 +00:00
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:177
|
|
|
|
|
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 ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:183
|
|
|
|
|
msgid "Return a list of namespaces bound to this name."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/symtable.rst:187
|
|
|
|
|
msgid ""
|
|
|
|
|
"Return the namespace bound to this name. If more than one namespace is "
|
|
|
|
|
"bound, :exc:`ValueError` is raised."
|
|
|
|
|
msgstr ""
|