python-docs-fr/c-api/objbuffer.po

84 lines
3.5 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/c-api/objbuffer.rst:7
msgid "Old Buffer Protocol"
msgstr "Ancien *Buffer Protocol*"
#: ../Doc/c-api/objbuffer.rst:9
msgid ""
"This section describes the legacy buffer protocol, which has been introduced "
"in Python 1.6. It is still supported but deprecated in the Python 2.x "
"series. Python 3 introduces a new buffer protocol which fixes weaknesses and "
"shortcomings of the protocol, and has been backported to Python 2.6. See :"
"ref:`bufferobjects` for more information."
msgstr ""
#: ../Doc/c-api/objbuffer.rst:18
msgid ""
"Returns a pointer to a read-only memory location usable as character-based "
"input. The *obj* argument must support the single-segment character buffer "
"interface. On success, returns ``0``, sets *buffer* to the memory location "
"and *buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:"
"`TypeError` on error."
msgstr ""
"Retourne un pointeur vers un emplacement de mémoire en lecture seule "
"utilisable en tant qu'entrée basée sur des caractères. L'argument *obj* doit "
"prendre en charge l'interface de tampon de caractère à segment unique. En "
"cas de succès, retourne ``0``, définit *buffer* à l'emplacement de la "
"mémoire et *buffer_len* à la longueur de la mémoire tampon. Retourne ``-1`` "
"et affecte une exception :exc:`TypeError` en cas d'erreur."
#: ../Doc/c-api/objbuffer.rst:26 ../Doc/c-api/objbuffer.rst:41
#: ../Doc/c-api/objbuffer.rst:63
msgid ""
"This function used an :c:type:`int *` type for *buffer_len*. This might "
"require changes in your code for properly supporting 64-bit systems."
msgstr ""
#: ../Doc/c-api/objbuffer.rst:33
msgid ""
"Returns a pointer to a read-only memory location containing arbitrary data. "
"The *obj* argument must support the single-segment readable buffer "
"interface. On success, returns ``0``, sets *buffer* to the memory location "
"and *buffer_len* to the buffer length. Returns ``-1`` and sets a :exc:"
"`TypeError` on error."
msgstr ""
"Retourne un pointeur vers un emplacement de mémoire en lecture seule "
"contenant des données arbitraires. L'argument *obj* doit prendre en charge "
"l'interface de tampon lisible à segment unique. En cas de succès, retourne "
"``0``, définit *buffer* à l'emplacement de la mémoire et *buffer_len* à la "
"longueur de la mémoire tampon. Renvoie ``-1`` et affecte l'exception :exc:"
"`TypeError` en cas d'erreur."
#: ../Doc/c-api/objbuffer.rst:48
msgid ""
"Returns ``1`` if *o* supports the single-segment readable buffer interface. "
"Otherwise returns ``0``."
msgstr ""
"Renvoie ``1`` si *o* gère l'interface *single-segment readable buffer*, "
"``0`` sinon."
#: ../Doc/c-api/objbuffer.rst:56
msgid ""
"Returns a pointer to a writeable memory location. The *obj* argument must "
"support the single-segment, character buffer interface. On success, returns "
"``0``, sets *buffer* to the memory location and *buffer_len* to the buffer "
"length. Returns ``-1`` and sets a :exc:`TypeError` on error."
msgstr ""