-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathtuple.po
More file actions
217 lines (191 loc) · 9.68 KB
/
tuple.po
File metadata and controls
217 lines (191 loc) · 9.68 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# 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: 2019-10-27 08:59+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/tuple.rst:6
msgid "Tuple Objects"
msgstr "タプルオブジェクト (tuple object)"
#: ../../c-api/tuple.rst:13
msgid "This subtype of :c:type:`PyObject` represents a Python tuple object."
msgstr ""
"この :c:type:`PyObject` のサブタイプは Python のタプルオブジェクトを表現しま"
"す。"
#: ../../c-api/tuple.rst:20
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python tuple type; it "
"is the same object as ``tuple`` and ``types.TupleType`` in the Python layer.."
msgstr ""
"この :c:type:`PyTypeObject` のインスタンスは Python のタプル型を表現します; "
"Python レイヤにおける :class:`tuple` や ``types.TupleType`` と同じオブジェク"
"トです。"
#: ../../c-api/tuple.rst:26
msgid ""
"Return true if *p* is a tuple object or an instance of a subtype of the "
"tuple type."
msgstr ""
"*p* がタプルオブジェクトか、タプル型のサブタイプのインスタンスである場合に真"
"を返します。"
#: ../../c-api/tuple.rst:29
msgid "Allowed subtypes to be accepted."
msgstr "サブタイプを引数にとれるようになりました."
#: ../../c-api/tuple.rst:35
msgid ""
"Return true if *p* is a tuple object, but not an instance of a subtype of "
"the tuple type."
msgstr ""
"*p* がタプルオブジェクトで、かつタプル型のサブタイプのインスタンスでない場合"
"に真を返します。"
#: ../../c-api/tuple.rst:43
msgid "Return a new tuple object of size *len*, or *NULL* on failure."
msgstr ""
"サイズが *len* の新たなタプルオブジェクトを返します。失敗すると *NULL* を返し"
"ます。"
#: ../../c-api/tuple.rst:45
msgid ""
"This function used an :c:type:`int` type for *len*. This might require "
"changes in your code for properly supporting 64-bit systems."
msgstr ""
"この関数は以前は *len* の型に :c:type:`int` を利用していました。この変更によ"
"り、 64 bit システムを正しくサポートするには修正が必要になります。"
#: ../../c-api/tuple.rst:52
msgid ""
"Return a new tuple object of size *n*, or *NULL* on failure. The tuple "
"values are initialized to the subsequent *n* C arguments pointing to Python "
"objects. ``PyTuple_Pack(2, a, b)`` is equivalent to "
"``Py_BuildValue(\"(OO)\", a, b)``."
msgstr ""
"サイズが *n* の新たなタプルオブジェクトを返します。失敗すると *NULL* を返しま"
"す。タプルの値は後続の *n* 個の Python オブジェクトを指す C 引数になります。"
"``PyTuple_Pack(2, a, b)`` は ``Py_BuildValue(\"(OO)\", a, b)`` と同じです。"
#: ../../c-api/tuple.rst:58
msgid ""
"This function used an :c:type:`int` type for *n*. This might require changes "
"in your code for properly supporting 64-bit systems."
msgstr ""
"この関数は以前は *n* の型に :c:type:`int` を利用していました。この変更によ"
"り、 64bit システムを正しくサポートするには修正が必要になります。"
#: ../../c-api/tuple.rst:65
msgid "Take a pointer to a tuple object, and return the size of that tuple."
msgstr ""
"タプルオブジェクトへのポインタを引数にとり、そのタプルのサイズを返します。"
#: ../../c-api/tuple.rst:67 ../../c-api/tuple.rst:77
msgid ""
"This function returned an :c:type:`int` type. This might require changes in "
"your code for properly supporting 64-bit systems."
msgstr ""
"この関数は以前は :c:type:`int` を返していました。この変更により、 64 bit シス"
"テムを正しくサポートするには修正が必要になります。"
#: ../../c-api/tuple.rst:74
msgid ""
"Return the size of the tuple *p*, which must be non-*NULL* and point to a "
"tuple; no error checking is performed."
msgstr ""
"タプル *p* のサイズを返しますが、*p* は非 *NULL* でなくてはならず、タプルオブ"
"ジェクトを指していなければなりません; この関数はエラーチェックを行いません。"
#: ../../c-api/tuple.rst:84
msgid ""
"Return the object at position *pos* in the tuple pointed to by *p*. If "
"*pos* is out of bounds, return *NULL* and set an :exc:`IndexError` exception."
msgstr ""
#: ../../c-api/tuple.rst:87 ../../c-api/tuple.rst:96 ../../c-api/tuple.rst:123
#: ../../c-api/tuple.rst:140
msgid ""
"This function used an :c:type:`int` type for *pos*. This might require "
"changes in your code for properly supporting 64-bit systems."
msgstr ""
"この関数は以前は *pos* の型に :c:type:`int` を利用していました。この変更によ"
"り、 64bit システムを正しくサポートするには修正が必要になります。"
#: ../../c-api/tuple.rst:94
msgid "Like :c:func:`PyTuple_GetItem`, but does no checking of its arguments."
msgstr ""
":c:func:`PyTuple_GetItem` に似ていますが、引数に対するエラーチェックを行いま"
"せん。"
#: ../../c-api/tuple.rst:103
msgid ""
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or "
"*NULL* on failure. This is the equivalent of the Python expression ``p[low:"
"high]``. Indexing from the end of the list is not supported."
msgstr ""
#: ../../c-api/tuple.rst:107
msgid ""
"This function used an :c:type:`int` type for *low* and *high*. This might "
"require changes in your code for properly supporting 64-bit systems."
msgstr ""
"この関数は以前は *low*, *high* の型に :c:type:`int` を利用していました。この"
"変更により、 64bit システムを正しくサポートするには修正が必要になります。"
#: ../../c-api/tuple.rst:114
msgid ""
"Insert a reference to object *o* at position *pos* of the tuple pointed to "
"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` "
"and set an :exc:`IndexError` exception."
msgstr ""
#: ../../c-api/tuple.rst:120
msgid ""
"This function \"steals\" a reference to *o* and discards a reference to an "
"item already in the tuple at the affected position."
msgstr ""
#: ../../c-api/tuple.rst:130
msgid ""
"Like :c:func:`PyTuple_SetItem`, but does no error checking, and should "
"*only* be used to fill in brand new tuples."
msgstr ""
":c:func:`PyTuple_SetItem` に似ていますが、エラーチェックを行わず、新たなタプ"
"ルに値を入れるとき *以外には使ってはなりません* 。"
#: ../../c-api/tuple.rst:135
msgid ""
"This macro \"steals\" a reference to *o*, and, unlike :c:func:"
"`PyTuple_SetItem`, does *not* discard a reference to any item that is being "
"replaced; any reference in the tuple at position *pos* will be leaked."
msgstr ""
#: ../../c-api/tuple.rst:147
msgid ""
"Can be used to resize a tuple. *newsize* will be the new length of the "
"tuple. Because tuples are *supposed* to be immutable, this should only be "
"used if there is only one reference to the object. Do *not* use this if the "
"tuple may already be known to some other part of the code. The tuple will "
"always grow or shrink at the end. Think of this as destroying the old tuple "
"and creating a new one, only more efficiently. Returns ``0`` on success. "
"Client code should never assume that the resulting value of ``*p`` will be "
"the same as before calling this function. If the object referenced by ``*p`` "
"is replaced, the original ``*p`` is destroyed. On failure, returns ``-1`` "
"and sets ``*p`` to *NULL*, and raises :exc:`MemoryError` or :exc:"
"`SystemError`."
msgstr ""
"タプルをリサイズする際に使えます。 *newsize* はタプルの新たな長さです。タプル"
"は変更不能なオブジェクト *ということになっている* ので、この関数はこのオブ"
"ジェクトに対してただ一つしか参照がない時以外には使ってはなりません。タプルが"
"コード中の他の部分ですでに参照されている場合には、この関数を *使ってはなりま"
"せん* 。タプルは常に指定サイズの末尾まで伸縮します。成功した場合には ``0`` を"
"返します。クライアントコードは、 ``*p`` の値が呼び出し前と同じになると期待し"
"てはなりません。 ``*p`` が置き換えられた場合、オリジナルの ``*p`` は破壊され"
"ます。失敗すると ``-1`` を返し、 ``*p`` を *NULL* に設定して、 :exc:"
"`MemoryError` または :exc:`SystemError` を送出します。"
#: ../../c-api/tuple.rst:158
msgid "Removed unused third parameter, *last_is_sticky*."
msgstr "使われていなかった三つ目のパラメタ、 *last_is_sticky* を削除しました."
#: ../../c-api/tuple.rst:161
msgid ""
"This function used an :c:type:`int` type for *newsize*. This might require "
"changes in your code for properly supporting 64-bit systems."
msgstr ""
"この関数は以前は *newsize* の型に :c:type:`int` を利用していました。この変更"
"により、 64 bit システムを正しくサポートするには修正が必要になります。"
#: ../../c-api/tuple.rst:168
msgid "Clear the free list. Return the total number of freed items."
msgstr "free list をクリアします。解放された要素数を返します。"