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