FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

# SOME DESCRIPTIVE TITLE. # Copyright (C) 1990-2021, Python Software Foundation # This file is distributed under the same license as the Python package. # # Translators: # 秘湯 , 2016 msgid "" msgstr "" "Project-Id-Version: Python 2.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-01-01 01:01+0900\n" "PO-Revision-Date: 2018-01-20 20:55+0000\n" "Last-Translator: tomo\n" "Language-Team: Japanese (http://www.transifex.com/python-doc/python-27/" "language/ja/)\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../c-api/objbuffer.rst:7 msgid "Old Buffer Protocol" msgstr "古いバッファプロトコル" #: ../../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 "" "このセクションは Python 1.6 で導入された古いバッファプロトコルについて解説し" "ます。このプロトコルは、 Python 2.x 系ではサポートされていますが廃止予定扱い" "です。 Python 3 から、このプロトコルの弱点や欠点を克服した新しいバッファプロ" "トコルが導入され、 Python 2.6 へと逆移植されました。詳細は :ref:" "`bufferobjects` を参照してください。" #: ../../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 "" "文字ベースの入力として使える読み出し専用メモリ上の位置へのポインタを返しま" "す。 *obj* 引数は単一セグメントからなる文字バッファインタフェースをサポートし" "ていなければなりません。成功すると ``0`` を返し、 *buffer* をメモリの位置" "に、 *buffer_len* をバッファの長さに設定します。エラーの際には ``-1`` を返" "し、 :exc:`TypeError` をセットします。" #: ../../c-api/objbuffer.rst:26 ../../c-api/objbuffer.rst:41 #: ../../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 "" "この関数は以前は *buffer_len* の型に :c:type:`int *` を利用していました。この" "変更により、 64bit システムを正しくサポートするには修正が必要になります。" #: ../../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 "" "任意のデータを収めた読み出し専用のメモリ上の位置へのポインタを返します。 " "*obj* 引数は単一セグメントからなる読み出し可能バッファインタフェースをサポー" "トしていなければなりません。成功すると ``0`` を返し、 *buffer* をメモリの位置" "に、 *buffer_len* をバッファの長さに設定します。エラーの際には ``-1`` を返" "し、 :exc:`TypeError` をセットします。" #: ../../c-api/objbuffer.rst:48 msgid "" "Returns ``1`` if *o* supports the single-segment readable buffer interface. " "Otherwise returns ``0``." msgstr "" "*o* が単一セグメントからなる読み出し可能バッファインタフェースをサポートして" "いる場合に ``1`` を返します。それ以外の場合には ``0`` を返します。" #: ../../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 "" "書き込み可能なメモリ上の位置へのポインタを返します。 *obj* 引数は単一セグメン" "トからなる文字バッファインタフェースをサポートしていなければなりません。成功" "すると ``0`` を返し、 *buffer* をメモリの位置に、 *buffer_len* をバッファの長" "さに設定します。エラーの際には ``-1`` を返し、 :exc:`TypeError` をセットしま" "す。"

Back | FazBrowse Home | New Git URL