1
1
# SOME DESCRIPTIVE TITLE.
2
2
# Copyright (C) 1990-2021, Python Software Foundation
3
3
# This file is distributed under the same license as the Python package.
4
- #
4
+ #
5
5
# Translators:
6
6
# tomo, 2017
7
7
@@ -12,11 +12,12 @@ msgstr ""
12
12
"POT-Creation-Date : 2021-01-01 01:01+0900\n "
13
13
"PO-Revision-Date : 2018-01-20 20:53+0000\n "
14
14
"Last-Translator : tomo\n "
15
- "Language-Team : Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n "
15
+ "Language-Team : Japanese (http://www.transifex.com/python-doc/python-27/ "
16
+ "language/ja/)\n "
17
+ "Language : ja\n "
16
18
"MIME-Version : 1.0\n "
17
19
"Content-Type : text/plain; charset=UTF-8\n "
18
20
"Content-Transfer-Encoding : 8bit\n "
19
- "Language : ja\n "
20
21
"Plural-Forms : nplurals=1; plural=0;\n "
21
22
22
23
#: ../../c-api/allocation.rst:6
@@ -28,7 +29,9 @@ msgstr "オブジェクトをヒープ上にメモリ確保する"
28
29
msgid ""
29
30
"This function used an :c:type:`int` type for *size*. This might require "
30
31
"changes in your code for properly supporting 64-bit systems."
31
- msgstr "この関数は以前は *size* の型に :c:type:`int` を利用していました。この変更により、 64bit システムを正しくサポートするには修正が必要になります。"
32
+ msgstr ""
33
+ "この関数は以前は *size* の型に :c:type:`int` を利用していました。この変更によ"
34
+ "り、 64bit システムを正しくサポートするには修正が必要になります。"
32
35
33
36
#: ../../c-api/allocation.rst:24
34
37
msgid ""
@@ -37,84 +40,126 @@ msgid ""
37
40
"object participates in the cyclic garbage detector, it is added to the "
38
41
"detector's set of observed objects. Other fields of the object are not "
39
42
"affected."
40
- msgstr "新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 (initial reference) を初期化します。初期化されたオブジェクトを返します。*type* からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィールドには影響を及ぼしません。"
43
+ msgstr ""
44
+ "新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 "
45
+ "(initial reference) を初期化します。初期化されたオブジェクトを返します。"
46
+ "*type* からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構"
47
+ "が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィー"
48
+ "ルドには影響を及ぼしません。"
41
49
42
50
#: ../../c-api/allocation.rst:33
43
51
msgid ""
44
52
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
45
53
"length information for a variable-size object."
46
- msgstr ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には長さ情報も初期化します。"
54
+ msgstr ""
55
+ ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には"
56
+ "長さ情報も初期化します。"
47
57
48
58
#: ../../c-api/allocation.rst:43
49
59
msgid ""
50
60
"Allocate a new Python object using the C structure type *TYPE* and the "
51
61
"Python type object *type*. Fields not defined by the Python object header "
52
62
"are not initialized; the object's reference count will be one. The size of "
53
- "the memory allocation is determined from the "
54
- ":c:member:`~PyTypeObject.tp_basicsize` field of the type object."
55
- msgstr "C 構造体型 *TYPE* と Python型オブジェクト *type* を使って、新しい Python オブジェクトをメモリ上に確保します。Pythonオブジェクトヘッダで定義されていないフィールドは初期化されません; オブジェクトの参照カウントは 1 になります。確保するメモリのサイズは型オブジェクトの :c:member:`~PyTypeObject.tp_basicsize` フィールドで決まります。"
63
+ "the memory allocation is determined from the :c:member:`~PyTypeObject."
64
+ "tp_basicsize` field of the type object."
65
+ msgstr ""
66
+ "C 構造体型 *TYPE* と Python型オブジェクト *type* を使って、新しい Python オブ"
67
+ "ジェクトをメモリ上に確保します。Pythonオブジェクトヘッダで定義されていない"
68
+ "フィールドは初期化されません; オブジェクトの参照カウントは 1 になります。確保"
69
+ "するメモリのサイズは型オブジェクトの :c:member:`~PyTypeObject.tp_basicsize` "
70
+ "フィールドで決まります。"
56
71
57
72
#: ../../c-api/allocation.rst:52
58
73
msgid ""
59
74
"Allocate a new Python object using the C structure type *TYPE* and the "
60
75
"Python type object *type*. Fields not defined by the Python object header "
61
76
"are not initialized. The allocated memory allows for the *TYPE* structure "
62
- "plus *size* fields of the size given by the "
63
- ":c:member:`~PyTypeObject.tp_itemsize` field of *type*. This is useful for "
64
- "implementing objects like tuples, which are able to determine their size at "
65
- "construction time. Embedding the array of fields into the same allocation "
66
- "decreases the number of allocations, improving the memory management "
67
- "efficiency."
68
- msgstr "C 構造体型 *TYPE* と Python 型オブジェクト *type* を使って新しい Python オブジェクトをメモリ上に確保します。 Python オブジェクトヘッダで定義されていないフィールドは初期化されません。確保されたメモリは、 *TYPE* 構造体に加え、*type* の :c:member:`~PyTypeObject.tp_itemsize` フィールドで指定されているサイズを *size* 個分の大きさを格納できます。この関数は、例えばタプルのように生成時にサイズを決定できるオブジェクトを実装する際に便利です。一連の複数のフィールドのメモリ割り当てを一度で行うことでアロケーション回数を減らし、メモリ管理の効率が向上します。"
77
+ "plus *size* fields of the size given by the :c:member:`~PyTypeObject."
78
+ "tp_itemsize` field of *type*. This is useful for implementing objects like "
79
+ "tuples, which are able to determine their size at construction time. "
80
+ "Embedding the array of fields into the same allocation decreases the number "
81
+ "of allocations, improving the memory management efficiency."
82
+ msgstr ""
83
+ "C 構造体型 *TYPE* と Python 型オブジェクト *type* を使って新しい Python オブ"
84
+ "ジェクトをメモリ上に確保します。 Python オブジェクトヘッダで定義されていない"
85
+ "フィールドは初期化されません。確保されたメモリは、 *TYPE* 構造体に加え、"
86
+ "*type* の :c:member:`~PyTypeObject.tp_itemsize` フィールドで指定されているサ"
87
+ "イズを *size* 個分の大きさを格納できます。この関数は、例えばタプルのように生"
88
+ "成時にサイズを決定できるオブジェクトを実装する際に便利です。一連の複数の"
89
+ "フィールドのメモリ割り当てを一度で行うことでアロケーション回数を減らし、メモ"
90
+ "リ管理の効率が向上します。"
69
91
70
92
#: ../../c-api/allocation.rst:68
71
93
msgid ""
72
- "Releases memory allocated to an object using :c:func:`PyObject_New` or "
73
- ":c:func:`PyObject_NewVar`. This is normally called from the "
74
- ":c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's type."
75
- " The fields of the object should not be accessed after this call as the "
76
- "memory is no longer a valid Python object."
77
- msgstr ":c:func:`PyObject_New` や :c:func:`PyObject_NewVar` で 確保したメモリを解放します。通常、この関数はオブジェクトの型に指定されている :c:member:`~PyTypeObject.tp_dealloc` ハンドラから呼び出されます。 この関数を呼び出した後は、メモリ領域はもはや有効な Python オブジェクトを表現していないので、オブジェクトのフィールド に対してアクセスしてはなりません。"
94
+ "Releases memory allocated to an object using :c:func:`PyObject_New` or :c:"
95
+ "func:`PyObject_NewVar`. This is normally called from the :c:member:"
96
+ "`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
97
+ "fields of the object should not be accessed after this call as the memory is "
98
+ "no longer a valid Python object."
99
+ msgstr ""
100
+ ":c:func:`PyObject_New` や :c:func:`PyObject_NewVar` で 確保したメモリを解放し"
101
+ "ます。通常、この関数はオブジェクトの型に指定されている :c:member:"
102
+ "`~PyTypeObject.tp_dealloc` ハンドラから呼び出されます。 この関数を呼び出した"
103
+ "後は、メモリ領域はもはや有効な Python オブジェクトを表現していないので、オブ"
104
+ "ジェクトのフィールド に対してアクセスしてはなりません。"
78
105
79
106
#: ../../c-api/allocation.rst:77
80
107
msgid ""
81
- "Create a new module object based on a name and table of functions, returning"
82
- " the new module object."
83
- msgstr "*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成されたモジュールオブジェクトを返します。"
108
+ "Create a new module object based on a name and table of functions, returning "
109
+ "the new module object."
110
+ msgstr ""
111
+ "*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成さ"
112
+ "れたモジュールオブジェクトを返します。"
84
113
85
114
#: ../../c-api/allocation.rst:80 ../../c-api/allocation.rst:91
86
115
#: ../../c-api/allocation.rst:113
87
116
msgid ""
88
117
"Older versions of Python did not support *NULL* as the value for the "
89
118
"*methods* argument."
90
- msgstr "以前のバージョンの Python では、 *methods* 引数の値として *NULL* をサポートしていませんでした."
119
+ msgstr ""
120
+ "以前のバージョンの Python では、 *methods* 引数の値として *NULL* をサポートし"
121
+ "ていませんでした."
91
122
92
123
#: ../../c-api/allocation.rst:87
93
124
msgid ""
94
- "Create a new module object based on a name and table of functions, returning"
95
- " the new module object. If *doc* is non-*NULL*, it will be used to define "
125
+ "Create a new module object based on a name and table of functions, returning "
126
+ "the new module object. If *doc* is non-*NULL*, it will be used to define "
96
127
"the docstring for the module."
97
- msgstr "*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成されたモジュールオブジェクトを返します。 *doc* が *NULL* でない場合、モジュールの docstring として使われます。"
128
+ msgstr ""
129
+ "*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成さ"
130
+ "れたモジュールオブジェクトを返します。 *doc* が *NULL* でない場合、モジュール"
131
+ "の docstring として使われます。"
98
132
99
133
#: ../../c-api/allocation.rst:98
100
134
msgid ""
101
- "Create a new module object based on a name and table of functions, returning"
102
- " the new module object. If *doc* is non-*NULL*, it will be used to define "
103
- "the docstring for the module. If *self* is non-*NULL*, it will be passed to"
104
- " the functions of the module as their (otherwise *NULL*) first parameter. "
135
+ "Create a new module object based on a name and table of functions, returning "
136
+ "the new module object. If *doc* is non-*NULL*, it will be used to define "
137
+ "the docstring for the module. If *self* is non-*NULL*, it will be passed to "
138
+ "the functions of the module as their (otherwise *NULL*) first parameter. "
105
139
"(This was added as an experimental feature, and there are no known uses in "
106
140
"the current version of Python.) For *apiver*, the only value which should "
107
141
"be passed is defined by the constant :const:`PYTHON_API_VERSION`."
108
- msgstr "*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成されたモジュールオブジェクトを返します。 *doc* が *NULL* でない場合、モジュールの docstring として使われます。 *self* が *NULL* でない場合、モジュール内の各関数の第一引数として渡されます (*NULL* の時には第一引数も *NULL* になります)。 (この関数は実験的な機能のために追加されたもので、現在の Python のバージョンで使われてはいないはずです。) *apiver* に渡してよい値は、 :const:`PYTHON_API_VERSION` で定義されている定数だけです。"
142
+ msgstr ""
143
+ "*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成さ"
144
+ "れたモジュールオブジェクトを返します。 *doc* が *NULL* でない場合、モジュール"
145
+ "の docstring として使われます。 *self* が *NULL* でない場合、モジュール内の各"
146
+ "関数の第一引数として渡されます (*NULL* の時には第一引数も *NULL* になりま"
147
+ "す)。 (この関数は実験的な機能のために追加されたもので、現在の Python のバー"
148
+ "ジョンで使われてはいないはずです。) *apiver* に渡してよい値は、 :const:"
149
+ "`PYTHON_API_VERSION` で定義されている定数だけです。"
109
150
110
151
#: ../../c-api/allocation.rst:109
111
152
msgid ""
112
- "Most uses of this function should probably be using the "
113
- ":c:func:`Py_InitModule3` instead; only use this if you are sure you need it."
114
- msgstr "この関数のほとんどの用途は、代わりに :c:func:`Py_InitModule3` を使えるはずです; 本当にこの関数の必要性を理解しているときにだけ利用してください。"
153
+ "Most uses of this function should probably be using the :c:func:"
154
+ "`Py_InitModule3` instead; only use this if you are sure you need it."
155
+ msgstr ""
156
+ "この関数のほとんどの用途は、代わりに :c:func:`Py_InitModule3` を使えるはずで"
157
+ "す; 本当にこの関数の必要性を理解しているときにだけ利用してください。"
115
158
116
159
#: ../../c-api/allocation.rst:120
117
160
msgid ""
118
- "Object which is visible in Python as ``None``. This should only be accessed"
119
- " using the ``Py_None`` macro, which evaluates to a pointer to this object."
120
- msgstr "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオブジェクトへのポインタを評価する ``Py_None`` マクロを使わねばなりません。"
161
+ "Object which is visible in Python as ``None``. This should only be accessed "
162
+ "using the ``Py_None`` macro, which evaluates to a pointer to this object."
163
+ msgstr ""
164
+ "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオ"
165
+ "ブジェクトへのポインタを評価する ``Py_None`` マクロを使わねばなりません。"
0 commit comments