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

222 lines
5.9 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"
"POT-Creation-Date: 2023-01-15 22:33+0100\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"
#: library/symtable.rst:2
2016-10-30 09:46:26 +00:00
msgid ":mod:`symtable` --- Access to the compiler's symbol tables"
msgstr ""
#: library/symtable.rst:7
2016-10-30 09:46:26 +00:00
msgid "**Source code:** :source:`Lib/symtable.py`"
msgstr "**Code source :** :source:`Lib/symtable.py`"
#: library/symtable.rst:15
2016-10-30 09:46:26 +00:00
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
2016-10-30 09:46:26 +00:00
msgid "Generating Symbol Tables"
msgstr ""
#: library/symtable.rst:26
2016-10-30 09:46:26 +00:00
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
2016-10-30 09:46:26 +00:00
msgid "Examining Symbol Tables"
msgstr ""
#: library/symtable.rst:36
2016-10-30 09:46:26 +00:00
msgid "A namespace table for a block. The constructor is not public."
msgstr ""
#: library/symtable.rst:40
2016-10-30 09:46:26 +00:00
msgid ""
"Return the type of the symbol table. Possible values are ``'class'``, "
"``'module'``, and ``'function'``."
msgstr ""
#: library/symtable.rst:45
2016-10-30 09:46:26 +00:00
msgid "Return the table's identifier."
msgstr ""
#: library/symtable.rst:49
2016-10-30 09:46:26 +00:00
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
2016-10-30 09:46:26 +00:00
msgid "Return the number of the first line in the block this table represents."
msgstr ""
#: library/symtable.rst:59
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the locals in this table can be optimized."
msgstr ""
#: library/symtable.rst:63
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the block is a nested class or function."
msgstr ""
#: library/symtable.rst:67
2016-10-30 09:46:26 +00:00
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 view object containing the names of symbols in the table. See the :"
"ref:`documentation of view objects <dict-views>`."
2016-10-30 09:46:26 +00:00
msgstr ""
#: library/symtable.rst:77
2016-10-30 09:46:26 +00:00
msgid "Lookup *name* in the table and return a :class:`Symbol` instance."
msgstr ""
#: library/symtable.rst:81
2016-10-30 09:46:26 +00:00
msgid "Return a list of :class:`Symbol` instances for names in the table."
msgstr ""
#: library/symtable.rst:85
2016-10-30 09:46:26 +00:00
msgid "Return a list of the nested symbol tables."
msgstr ""
#: library/symtable.rst:90
2016-10-30 09:46:26 +00:00
msgid ""
"A namespace for a function or method. This class inherits :class:"
"`SymbolTable`."
msgstr ""
#: library/symtable.rst:95
2016-10-30 09:46:26 +00:00
msgid "Return a tuple containing names of parameters to this function."
msgstr ""
#: library/symtable.rst:99
2016-10-30 09:46:26 +00:00
msgid "Return a tuple containing names of locals in this function."
msgstr ""
#: library/symtable.rst:103
2016-10-30 09:46:26 +00:00
msgid "Return a tuple containing names of globals in this function."
msgstr ""
#: library/symtable.rst:107
2019-09-04 09:35:23 +00:00
msgid "Return a tuple containing names of nonlocals in this function."
msgstr ""
#: library/symtable.rst:111
2016-10-30 09:46:26 +00:00
msgid "Return a tuple containing names of free variables in this function."
msgstr ""
#: library/symtable.rst:116
2016-10-30 09:46:26 +00:00
msgid "A namespace of a class. This class inherits :class:`SymbolTable`."
msgstr ""
#: library/symtable.rst:120
2016-10-30 09:46:26 +00:00
msgid "Return a tuple containing the names of methods declared in the class."
msgstr ""
#: library/symtable.rst:125
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 ""
#: library/symtable.rst:130
2016-10-30 09:46:26 +00:00
msgid "Return the symbol's name."
msgstr ""
#: library/symtable.rst:134
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is used in its block."
msgstr ""
#: library/symtable.rst:138
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is created from an import statement."
msgstr ""
#: library/symtable.rst:142
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is a parameter."
msgstr ""
#: library/symtable.rst:146
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is global."
msgstr ""
#: library/symtable.rst:150
2019-09-04 09:35:23 +00:00
msgid "Return ``True`` if the symbol is nonlocal."
msgstr ""
#: library/symtable.rst:154
2016-10-30 09:46:26 +00:00
msgid ""
"Return ``True`` if the symbol is declared global with a global statement."
msgstr ""
#: library/symtable.rst:158
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is local to its block."
msgstr ""
#: library/symtable.rst:162
2021-01-27 19:42:04 +00:00
msgid "Return ``True`` if the symbol is annotated."
msgstr ""
#: library/symtable.rst:168
2016-10-30 09:46:26 +00:00
msgid ""
"Return ``True`` if the symbol is referenced in its block, but not assigned "
"to."
msgstr ""
#: library/symtable.rst:173
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the symbol is assigned to in its block."
msgstr ""
#: library/symtable.rst:177
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if name binding introduces new namespace."
msgstr ""
#: library/symtable.rst:179
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 ""
#: library/symtable.rst:182
2016-10-30 09:46:26 +00:00
msgid "For example::"
msgstr "Par exemple ::"
2016-10-30 09:46:26 +00:00
#: library/symtable.rst:188
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 ""
#: library/symtable.rst:194
2016-10-30 09:46:26 +00:00
msgid "Return a list of namespaces bound to this name."
msgstr ""
#: library/symtable.rst:198
2016-10-30 09:46:26 +00:00
msgid ""
2022-03-23 17:40:12 +00:00
"Return the namespace bound to this name. If more than one or no namespace is "
"bound to this name, a :exc:`ValueError` is raised."
2016-10-30 09:46:26 +00:00
msgstr ""