-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathobjbuffer.po
More file actions
96 lines (89 loc) · 4.9 KB
/
objbuffer.po
File metadata and controls
96 lines (89 loc) · 4.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-2021, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# 秘湯 <xwhhsprings@gmail.com>, 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` をセットしま"
"す。"