2016-10-30 09:46:26 +00:00
|
|
|
|
# SOME DESCRIPTIVE TITLE.
|
|
|
|
|
# Copyright (C) 2001-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 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"
|
|
|
|
|
"Language-Team: LANGUAGE <LL@li.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/linecache.rst:2
|
|
|
|
|
msgid ":mod:`linecache` --- Random access to text lines"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:9
|
|
|
|
|
msgid "**Source code:** :source:`Lib/linecache.py`"
|
|
|
|
|
msgstr "**Code source :** :source:`Lib/linecache.py`"
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:13
|
|
|
|
|
msgid ""
|
|
|
|
|
"The :mod:`linecache` module allows one to get any line from a Python source "
|
|
|
|
|
"file, while attempting to optimize internally, using a cache, the common "
|
|
|
|
|
"case where many lines are read from a single file. This is used by the :mod:"
|
|
|
|
|
"`traceback` module to retrieve source lines for inclusion in the formatted "
|
|
|
|
|
"traceback."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:18
|
|
|
|
|
msgid ""
|
|
|
|
|
"The :func:`tokenize.open` function is used to open files. This function "
|
|
|
|
|
"uses :func:`tokenize.detect_encoding` to get the encoding of the file; in "
|
|
|
|
|
"the absence of an encoding token, the file encoding defaults to UTF-8."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:22
|
|
|
|
|
msgid "The :mod:`linecache` module defines the following functions:"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:27
|
|
|
|
|
msgid ""
|
|
|
|
|
"Get line *lineno* from file named *filename*. This function will never raise "
|
|
|
|
|
"an exception --- it will return ``''`` on errors (the terminating newline "
|
|
|
|
|
"character will be included for lines that are found)."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:33
|
|
|
|
|
msgid ""
|
|
|
|
|
"If a file named *filename* is not found, the function will look for it in "
|
|
|
|
|
"the module search path, ``sys.path``, after first checking for a :pep:`302` "
|
|
|
|
|
"``__loader__`` in *module_globals*, in case the module was imported from a "
|
|
|
|
|
"zipfile or other non-filesystem import source."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:41
|
|
|
|
|
msgid ""
|
|
|
|
|
"Clear the cache. Use this function if you no longer need lines from files "
|
|
|
|
|
"previously read using :func:`getline`."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:47
|
|
|
|
|
msgid ""
|
|
|
|
|
"Check the cache for validity. Use this function if files in the cache may "
|
|
|
|
|
"have changed on disk, and you require the updated version. If *filename* is "
|
|
|
|
|
"omitted, it will check all the entries in the cache."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:53
|
|
|
|
|
msgid ""
|
|
|
|
|
"Capture enough detail about a non-file-based module to permit getting its "
|
|
|
|
|
"lines later via :func:`getline` even if *module_globals* is ``None`` in the "
|
|
|
|
|
"later call. This avoids doing I/O until a line is actually needed, without "
|
|
|
|
|
"having to carry the module globals around indefinitely."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../Doc/library/linecache.rst:60
|
|
|
|
|
msgid "Example::"
|
|
|
|
|
msgstr "Exemples ::"
|