Working on library.po/functions.rst

This commit is contained in:
Julien Palard 2016-03-04 23:48:59 +01:00
parent c131272389
commit 9bc1de81d4

View File

@ -42303,6 +42303,12 @@ msgid ""
"does not use its *locals* argument at all, and uses its *globals* only to "
"determine the package context of the :keyword:`import` statement."
msgstr ""
"La fonction importe le module *name*, utilisant potentiellement *globals* et "
"*locals* pour déterminer comment interpréter le nom dans le contexte d'un "
"paquet. *fromlist* donne le nom des objets ou sous-modules qui devraient "
"être importés du module *name*. L'implémentation standard n'utilise pas "
"l'argument *locals* et n'utilise *globals* que pour déterminer le contexte "
"du paquet de l'instruction :keyword:`statement`."
#: library/functions.rst:1643
msgid ""
@ -42320,28 +42326,38 @@ msgid ""
"module named by *name*. However, when a non-empty *fromlist* argument is "
"given, the module named by *name* is returned."
msgstr ""
"Lorsque la variable *name* est de la forme ``package.module``, normalement, "
"le paquet le plus haut (le nom jusqu'au premier point) est donné, et *pas* "
"le module nommé par *name*. Cependant, lorsqu'un argument *fromlist* est "
"fourni, le module nommé par *name* est donné."
#: library/functions.rst:1654
msgid ""
"For example, the statement ``import spam`` results in bytecode resembling "
"the following code::"
msgstr ""
"Par exemple, l'instruction ``import spam`` donne un bytecode ressemblant ai "
"code suivant : ::"
#: library/functions.rst:1659
msgid "The statement ``import spam.ham`` results in this call::"
msgstr ""
msgstr "L'instruction ``import ham.ham`` appelle : ::"
#: library/functions.rst:1663
msgid ""
"Note how :func:`__import__` returns the toplevel module here because this is "
"the object that is bound to a name by the :keyword:`import` statement."
msgstr ""
"Notez comment :func:`__import__` donne le module le plus haut ici parce que "
"c'est l'objet lié à un nom par l'nstruction :keyword:`import`."
#: library/functions.rst:1666
msgid ""
"On the other hand, the statement ``from spam.ham import eggs, sausage as "
"saus`` results in ::"
msgstr ""
"En revanche, l'instruction ``from spam.ham import eggs, saucage as saus`` "
"donne : ::"
#: library/functions.rst:1673
msgid ""
@ -42349,12 +42365,16 @@ msgid ""
"this object, the names to import are retrieved and assigned to their "
"respective names."
msgstr ""
"Ici le module ``spam.ham`` est donné par :func:`__import__`. De cet objet, "
"les noms à importer sont récupérés et assignés à leurs noms respectifs."
#: library/functions.rst:1677
msgid ""
"If you simply want to import a module (potentially within a package) by "
"name, use :func:`importlib.import_module`."
msgstr ""
"Si vous voulez simplement importer un module (potentiellement dans un "
"paquet) par son nom, utilisez :func:`importlib.import_module`."
#: library/functions.rst:1681
msgid "The level parameter was added."