python-docs-fr/library/stringio.po

130 lines
4.3 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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/stringio.rst:3
msgid ":mod:`StringIO` --- Read and write strings as files"
msgstr ""
#: ../Doc/library/stringio.rst:9
msgid ""
"This module implements a file-like class, :class:`StringIO`, that reads and "
"writes a string buffer (also known as *memory files*). See the description "
"of file objects for operations (section :ref:`bltin-file-objects`). (For "
"standard strings, see :class:`str` and :class:`unicode`.)"
msgstr ""
#: ../Doc/library/stringio.rst:17
msgid ""
"When a :class:`StringIO` object is created, it can be initialized to an "
"existing string by passing the string to the constructor. If no string is "
"given, the :class:`StringIO` will start empty. In both cases, the initial "
"file position starts at zero."
msgstr ""
#: ../Doc/library/stringio.rst:22
msgid ""
"The :class:`StringIO` object can accept either Unicode or 8-bit strings, but "
"mixing the two may take some care. If both are used, 8-bit strings that "
"cannot be interpreted as 7-bit ASCII (that use the 8th bit) will cause a :"
"exc:`UnicodeError` to be raised when :meth:`getvalue` is called."
msgstr ""
#: ../Doc/library/stringio.rst:27
msgid ""
"The following methods of :class:`StringIO` objects require special mention:"
msgstr ""
#: ../Doc/library/stringio.rst:32
msgid ""
"Retrieve the entire contents of the \"file\" at any time before the :class:"
"`StringIO` object's :meth:`close` method is called. See the note above for "
"information about mixing Unicode and 8-bit strings; such mixing can cause "
"this method to raise :exc:`UnicodeError`."
msgstr ""
#: ../Doc/library/stringio.rst:40
msgid ""
"Free the memory buffer. Attempting to do further operations with a closed :"
"class:`StringIO` object will raise a :exc:`ValueError`."
msgstr ""
#: ../Doc/library/stringio.rst:43 ../Doc/library/stringio.rst:112
msgid "Example usage::"
msgstr "Exemple d'utilisation ::"
#: ../Doc/library/stringio.rst:61
msgid ":mod:`cStringIO` --- Faster version of :mod:`StringIO`"
msgstr ""
#: ../Doc/library/stringio.rst:69
msgid ""
"The module :mod:`cStringIO` provides an interface similar to that of the :"
"mod:`StringIO` module. Heavy use of :class:`StringIO.StringIO` objects can "
"be made more efficient by using the function :func:`StringIO` from this "
"module instead."
msgstr ""
#: ../Doc/library/stringio.rst:77
msgid "Return a StringIO-like stream for reading or writing."
msgstr ""
#: ../Doc/library/stringio.rst:79
msgid ""
"Since this is a factory function which returns objects of built-in types, "
"there's no way to build your own version using subclassing. It's not "
"possible to set attributes on it. Use the original :mod:`StringIO` module "
"in those cases."
msgstr ""
#: ../Doc/library/stringio.rst:84
msgid ""
"Unlike the :mod:`StringIO` module, this module is not able to accept Unicode "
"strings that cannot be encoded as plain ASCII strings."
msgstr ""
#: ../Doc/library/stringio.rst:87
msgid ""
"Another difference from the :mod:`StringIO` module is that calling :func:"
"`StringIO` with a string parameter creates a read-only object. Unlike an "
"object created without a string parameter, it does not have write methods. "
"These objects are not generally visible. They turn up in tracebacks as :"
"class:`StringI` and :class:`StringO`."
msgstr ""
#: ../Doc/library/stringio.rst:95
msgid "The following data objects are provided as well:"
msgstr ""
#: ../Doc/library/stringio.rst:100
msgid ""
"The type object of the objects created by calling :func:`StringIO` with a "
"string parameter."
msgstr ""
#: ../Doc/library/stringio.rst:106
msgid ""
"The type object of the objects returned by calling :func:`StringIO` with no "
"parameters."
msgstr ""
#: ../Doc/library/stringio.rst:109
msgid ""
"There is a C API to the module as well; refer to the module source for more "
"information."
msgstr ""