1
0
Fork 0
python-docs-fr/library/symtable.po

220 lines
6.1 KiB
Plaintext
Raw Normal View History

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 ""
2019-12-05 22:15:54 +00:00
"Project-Id-Version: Python 3\n"
2016-10-30 09:46:26 +00:00
"Report-Msgid-Bugs-To: \n"
2019-09-04 09:35:23 +00:00
"POT-Creation-Date: 2019-09-04 11:33+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
2019-09-04 09:35:23 +00:00
msgid "Return a tuple containing names of nonlocals in this function."
msgstr ""
#: ../Doc/library/symtable.rst:114
2016-10-30 09:46:26 +00:00
msgid "Return a tuple containing names of free variables in this function."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:119
2016-10-30 09:46:26 +00:00
msgid "A namespace of a class. This class inherits :class:`SymbolTable`."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:123
2016-10-30 09:46:26 +00:00
msgid "Return a tuple containing the names of methods declared in the class."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:128
2016-10-30 09:46:26 +00:00
msgid ""
"An entry in a :class:`SymbolTable` corresponding to an identifier in the "
"source. The constructor is not public."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:133
2016-10-30 09:46:26 +00:00
msgid "Return the symbol's name."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:137
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is used in its block."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:141
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is created from an import statement."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:145
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is a parameter."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:149
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is global."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:153
msgid "Return ``True`` if the symbol is nonlocal."
msgstr ""
#: ../Doc/library/symtable.rst:157
2016-10-30 09:46:26 +00:00
msgid ""
"Return ``True`` if the symbol is declared global with a global statement."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:161
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is local to its block."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:165
2016-10-30 09:46:26 +00:00
msgid ""
"Return ``True`` if the symbol is referenced in its block, but not assigned "
"to."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:170
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is assigned to in its block."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:174
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if name binding introduces new namespace."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:176
2016-10-30 09:46:26 +00:00
msgid ""
"If the name is used as the target of a function or class statement, this "
"will be true."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:179
2016-10-30 09:46:26 +00:00
msgid "For example::"
msgstr "Par exemple ::"
2016-10-30 09:46:26 +00:00
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:185
2016-10-30 09:46:26 +00:00
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 ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:191
2016-10-30 09:46:26 +00:00
msgid "Return a list of namespaces bound to this name."
msgstr ""
2019-09-04 09:35:23 +00:00
#: ../Doc/library/symtable.rst:195
2016-10-30 09:46:26 +00:00
msgid ""
"Return the namespace bound to this name. If more than one namespace is "
"bound, :exc:`ValueError` is raised."
msgstr ""