python-docs-fr/library/imputil.po

144 lines
4.3 KiB
Plaintext

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-2016, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 2.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-30 10:44+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Doc/library/imputil.rst:3
msgid ":mod:`imputil` --- Import utilities"
msgstr ""
#: ../Doc/library/imputil.rst:9
msgid "The :mod:`imputil` module has been removed in Python 3."
msgstr ""
#: ../Doc/library/imputil.rst:15
msgid ""
"This module provides a very handy and useful mechanism for custom :keyword:"
"`import` hooks. Compared to the older :mod:`ihooks` module, :mod:`imputil` "
"takes a dramatically simpler and more straight-forward approach to custom :"
"keyword:`import` functions."
msgstr ""
#: ../Doc/library/imputil.rst:23
msgid "Manage the import process."
msgstr ""
#: ../Doc/library/imputil.rst:27
msgid "Install this ImportManager into the specified namespace."
msgstr ""
#: ../Doc/library/imputil.rst:31
msgid "Restore the previous import mechanism."
msgstr ""
#: ../Doc/library/imputil.rst:35 ../Doc/library/imputil.rst:87
#: ../Doc/library/imputil.rst:91 ../Doc/library/imputil.rst:95
#: ../Doc/library/imputil.rst:99
msgid "Undocumented."
msgstr ""
#: ../Doc/library/imputil.rst:40
msgid "Base class for replacing standard import functions."
msgstr ""
#: ../Doc/library/imputil.rst:44
msgid "Import a top-level module."
msgstr ""
#: ../Doc/library/imputil.rst:48
msgid "Find and retrieve the code for the given module."
msgstr ""
#: ../Doc/library/imputil.rst:50
msgid ""
"*parent* specifies a parent module to define a context for importing. It may "
"be ``None``, indicating no particular context for the search."
msgstr ""
#: ../Doc/library/imputil.rst:53
msgid "*modname* specifies a single module (not dotted) within the parent."
msgstr ""
#: ../Doc/library/imputil.rst:55
msgid ""
"*fqname* specifies the fully-qualified module name. This is a (potentially) "
"dotted name from the \"root\" of the module namespace down to the modname."
msgstr ""
#: ../Doc/library/imputil.rst:59
msgid "If there is no parent, then modname==fqname."
msgstr ""
#: ../Doc/library/imputil.rst:61
msgid "This method should return ``None``, or a 3-tuple."
msgstr ""
#: ../Doc/library/imputil.rst:63
msgid "If the module was not found, then ``None`` should be returned."
msgstr ""
#: ../Doc/library/imputil.rst:65
msgid ""
"The first item of the 2- or 3-tuple should be the integer 0 or 1, specifying "
"whether the module that was found is a package or not."
msgstr ""
#: ../Doc/library/imputil.rst:68
msgid ""
"The second item is the code object for the module (it will be executed "
"within the new module's namespace). This item can also be a fully-loaded "
"module object (e.g. loaded from a shared lib)."
msgstr ""
#: ../Doc/library/imputil.rst:72
msgid ""
"The third item is a dictionary of name/value pairs that will be inserted "
"into new module before the code object is executed. This is provided in case "
"the module's code expects certain values (such as where the module was "
"found). When the second item is a module object, then these names/values "
"will be inserted *after* the module has been loaded/initialized."
msgstr ""
#: ../Doc/library/imputil.rst:82
msgid ""
"Emulate the import mechanism for built-in and frozen modules. This is a sub-"
"class of the :class:`Importer` class."
msgstr ""
#: ../Doc/library/imputil.rst:104
msgid "Examples"
msgstr "Exemples"
#: ../Doc/library/imputil.rst:106
msgid "This is a re-implementation of hierarchical module import."
msgstr ""
#: ../Doc/library/imputil.rst:108
msgid ""
"This code is intended to be read, not executed. However, it does work -- "
"all you need to do to enable it is \"import knee\"."
msgstr ""
#: ../Doc/library/imputil.rst:111
msgid "(The name is a pun on the clunkier predecessor of this module, \"ni\".)"
msgstr ""
#: ../Doc/library/imputil.rst:235
msgid ""
"Also see the :mod:`importers` module (which can be found in :file:`Demo/"
"imputil/` in the Python source distribution) for additional examples."
msgstr ""