2
2
# Copyright (C) 2001-2021, Python Software Foundation
3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
5
+ #
6
6
# Translators:
7
7
# Inada Naoki <songofacandy@gmail.com>, 2017
8
8
# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
9
9
# Arihiro TAKASE, 2017
10
10
# Osamu NAKAMURA, 2017
11
- #
11
+ #
12
12
#, fuzzy
13
13
msgid ""
14
14
msgstr ""
@@ -17,11 +17,12 @@ msgstr ""
17
17
"POT-Creation-Date : 2021-01-01 05:02+0000\n "
18
18
"PO-Revision-Date : 2017-02-16 17:32+0000\n "
19
19
"Last-Translator : Osamu NAKAMURA, 2017\n "
20
- "Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
20
+ "Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ "
21
+ "ja/)\n "
22
+ "Language : ja\n "
21
23
"MIME-Version : 1.0\n "
22
24
"Content-Type : text/plain; charset=UTF-8\n "
23
25
"Content-Transfer-Encoding : 8bit\n "
24
- "Language : ja\n "
25
26
"Plural-Forms : nplurals=1; plural=0;\n "
26
27
27
28
#: ../../c-api/allocation.rst:6
@@ -36,67 +37,77 @@ msgid ""
36
37
"detector's set of observed objects. Other fields of the object are not "
37
38
"affected."
38
39
msgstr ""
39
- "新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 (initial reference) "
40
- "を初期化します。初期化されたオブジェクトを返します。*type* "
41
- "からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィールドには影響を及ぼしません。"
40
+ "新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 "
41
+ "(initial reference) を初期化します。初期化されたオブジェクトを返します。"
42
+ "*type* からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構"
43
+ "が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィー"
44
+ "ルドには影響を及ぼしません。"
42
45
43
46
#: ../../c-api/allocation.rst:26
44
47
msgid ""
45
48
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
46
49
"length information for a variable-size object."
47
- msgstr ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には長さ情報も初期化します。"
50
+ msgstr ""
51
+ ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には"
52
+ "長さ情報も初期化します。"
48
53
49
54
#: ../../c-api/allocation.rst:32
50
55
msgid ""
51
56
"Allocate a new Python object using the C structure type *TYPE* and the "
52
57
"Python type object *type*. Fields not defined by the Python object header "
53
58
"are not initialized; the object's reference count will be one. The size of "
54
- "the memory allocation is determined from the "
55
- ":c:member:`~PyTypeObject. tp_basicsize` field of the type object."
59
+ "the memory allocation is determined from the :c:member:`~PyTypeObject. "
60
+ "tp_basicsize` field of the type object."
56
61
msgstr ""
57
- "C 構造体型 *TYPE* と Python型オブジェクト *type* を使って、新しい Python "
58
- "オブジェクトをメモリ上に確保します。Pythonオブジェクトヘッダで定義されていないフィールドは初期化されません; オブジェクトの参照カウントは 1 "
59
- "になります。確保するメモリのサイズは型オブジェクトの :c:member:`~PyTypeObject.tp_basicsize` "
62
+ "C 構造体型 *TYPE* と Python型オブジェクト *type* を使って、新しい Python オブ"
63
+ "ジェクトをメモリ上に確保します。Pythonオブジェクトヘッダで定義されていない"
64
+ "フィールドは初期化されません; オブジェクトの参照カウントは 1 になります。確保"
65
+ "するメモリのサイズは型オブジェクトの :c:member:`~PyTypeObject.tp_basicsize` "
60
66
"フィールドで決まります。"
61
67
62
68
#: ../../c-api/allocation.rst:41
63
69
msgid ""
64
70
"Allocate a new Python object using the C structure type *TYPE* and the "
65
71
"Python type object *type*. Fields not defined by the Python object header "
66
72
"are not initialized. The allocated memory allows for the *TYPE* structure "
67
- "plus *size* fields of the size given by the "
68
- ":c:member:`~PyTypeObject.tp_itemsize` field of *type*. This is useful for "
69
- "implementing objects like tuples, which are able to determine their size at "
70
- "construction time. Embedding the array of fields into the same allocation "
71
- "decreases the number of allocations, improving the memory management "
72
- "efficiency."
73
+ "plus *size* fields of the size given by the :c:member:`~PyTypeObject."
74
+ "tp_itemsize` field of *type*. This is useful for implementing objects like "
75
+ "tuples, which are able to determine their size at construction time. "
76
+ "Embedding the array of fields into the same allocation decreases the number "
77
+ "of allocations, improving the memory management efficiency."
73
78
msgstr ""
74
- "C 構造体型 *TYPE* と Python 型オブジェクト *type* を使って新しい Python オブジェクトをメモリ上に確保します。 "
75
- "Python オブジェクトヘッダで定義されていないフィールドは初期化されません。確保されたメモリは、 *TYPE* 構造体に加え、*type* の "
76
- ":c:member:`~PyTypeObject.tp_itemsize` フィールドで指定されているサイズを *size* "
77
- "個分の大きさを格納できます。この関数は、例えばタプルのように生成時にサイズを決定できるオブジェクトを実装する際に便利です。一連の複数のフィールドのメモリ割り当てを一度で行うことでアロケーション回数を減らし、メモリ管理の効率が向上します。"
79
+ "C 構造体型 *TYPE* と Python 型オブジェクト *type* を使って新しい Python オブ"
80
+ "ジェクトをメモリ上に確保します。 Python オブジェクトヘッダで定義されていない"
81
+ "フィールドは初期化されません。確保されたメモリは、 *TYPE* 構造体に加え、"
82
+ "*type* の :c:member:`~PyTypeObject.tp_itemsize` フィールドで指定されているサ"
83
+ "イズを *size* 個分の大きさを格納できます。この関数は、例えばタプルのように生"
84
+ "成時にサイズを決定できるオブジェクトを実装する際に便利です。一連の複数の"
85
+ "フィールドのメモリ割り当てを一度で行うことでアロケーション回数を減らし、メモ"
86
+ "リ管理の効率が向上します。"
78
87
79
88
#: ../../c-api/allocation.rst:53
80
89
msgid ""
81
- "Releases memory allocated to an object using :c:func:`PyObject_New` or "
82
- ":c: func:`PyObject_NewVar`. This is normally called from the "
83
- ":c:member: `~PyTypeObject.tp_dealloc` handler specified in the object's type."
84
- " The fields of the object should not be accessed after this call as the "
85
- "memory is no longer a valid Python object."
90
+ "Releases memory allocated to an object using :c:func:`PyObject_New` or :c: "
91
+ "func:`PyObject_NewVar`. This is normally called from the :c:member: "
92
+ "`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
93
+ "fields of the object should not be accessed after this call as the memory is "
94
+ "no longer a valid Python object."
86
95
msgstr ""
87
- ":c:func:`PyObject_New` や :c:func:`PyObject_NewVar` で "
88
- "確保したメモリを解放します。通常、この関数はオブジェクトの型に指定されている :c:member:`~PyTypeObject.tp_dealloc` "
89
- "ハンドラから呼び出されます。 この関数を呼び出した後は、メモリ領域はもはや有効な Python "
90
- "オブジェクトを表現していないので、オブジェクトのフィールド に対してアクセスしてはなりません。"
96
+ ":c:func:`PyObject_New` や :c:func:`PyObject_NewVar` で 確保したメモリを解放し"
97
+ "ます。通常、この関数はオブジェクトの型に指定されている :c:member:"
98
+ "`~PyTypeObject.tp_dealloc` ハンドラから呼び出されます。 この関数を呼び出した"
99
+ "後は、メモリ領域はもはや有効な Python オブジェクトを表現していないので、オブ"
100
+ "ジェクトのフィールド に対してアクセスしてはなりません。"
91
101
92
102
#: ../../c-api/allocation.rst:62
93
103
msgid ""
94
- "Object which is visible in Python as ``None``. This should only be accessed"
95
- " using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
104
+ "Object which is visible in Python as ``None``. This should only be accessed "
105
+ "using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
96
106
"object."
97
107
msgstr ""
98
- "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオブジェクトへのポインタを評価する "
99
- ":c:macro:`Py_None` マクロを使わなければなりません。"
108
+ "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオ"
109
+ "ブジェクトへのポインタを評価する :c:macro:`Py_None` マクロを使わなければなり"
110
+ "ません。"
100
111
101
112
#: ../../c-api/allocation.rst:69
102
113
msgid ":c:func:`PyModule_Create`"
0 commit comments