22# Copyright (C) 2001-2020, Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5- #
5+ #
66# Translators:
77# tomo, 2018
8- #
8+ #
99#, fuzzy
1010msgid ""
1111msgstr ""
@@ -14,11 +14,12 @@ msgstr ""
1414"POT-Creation-Date : 2020-02-09 18:48+0900\n "
1515"PO-Revision-Date : 2018-06-29 17:48+0000\n "
1616"Last-Translator : tomo, 2018\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 "
1820"MIME-Version : 1.0\n "
1921"Content-Type : text/plain; charset=UTF-8\n "
2022"Content-Transfer-Encoding : 8bit\n "
21- "Language : ja\n "
2223"Plural-Forms : nplurals=1; plural=0;\n "
2324
2425#: ../../c-api/allocation.rst:6
@@ -33,67 +34,77 @@ msgid ""
3334"detector's set of observed objects. Other fields of the object are not "
3435"affected."
3536msgstr ""
36- "新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 (initial reference) "
37- "を初期化します。初期化されたオブジェクトを返します。*type* "
38- "からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィールドには影響を及ぼしません。"
37+ "新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 "
38+ "(initial reference) を初期化します。初期化されたオブジェクトを返します。"
39+ "*type* からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構"
40+ "が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィー"
41+ "ルドには影響を及ぼしません。"
3942
4043#: ../../c-api/allocation.rst:26
4144msgid ""
4245"This does everything :c:func:`PyObject_Init` does, and also initializes the "
4346"length information for a variable-size object."
44- msgstr ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には長さ情報も初期化します。"
47+ msgstr ""
48+ ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には"
49+ "長さ情報も初期化します。"
4550
4651#: ../../c-api/allocation.rst:32
4752msgid ""
4853"Allocate a new Python object using the C structure type *TYPE* and the "
4954"Python type object *type*. Fields not defined by the Python object header "
5055"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."
5358msgstr ""
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` "
5763"フィールドで決まります。"
5864
5965#: ../../c-api/allocation.rst:41
6066msgid ""
6167"Allocate a new Python object using the C structure type *TYPE* and the "
6268"Python type object *type*. Fields not defined by the Python object header "
6369"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."
7075msgstr ""
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+ "リ管理の効率が向上します。"
7584
7685#: ../../c-api/allocation.rst:53
7786msgid ""
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."
8392msgstr ""
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+ "ジェクトのフィールド に対してアクセスしてはなりません。"
8898
8999#: ../../c-api/allocation.rst:62
90100msgid ""
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 "
93103"object."
94104msgstr ""
95- "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオブジェクトへのポインタを評価する "
96- ":c:macro:`Py_None` マクロを使わなければなりません。"
105+ "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオ"
106+ "ブジェクトへのポインタを評価する :c:macro:`Py_None` マクロを使わなければなり"
107+ "ません。"
97108
98109#: ../../c-api/allocation.rst:69
99110msgid ":c:func:`PyModule_Create`"
0 commit comments