forked from AFPy/python-docs-fr
72 lines
2.6 KiB
Plaintext
72 lines
2.6 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 ""
|
|
|
|
#: ../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 ""
|
|
|
|
#: ../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 ""
|