22# Copyright (C) 2001-2021, 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# Inada Naoki <songofacandy@gmail.com>, 2017
88# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
99# Arihiro TAKASE, 2017
1010# Osamu NAKAMURA, 2017
11- #
11+ #
1212#, fuzzy
1313msgid ""
1414msgstr ""
@@ -17,11 +17,12 @@ msgstr ""
1717"POT-Creation-Date :2021-01-01 05:02+0000\n "
1818"PO-Revision-Date :2017-02-16 17:32+0000\n "
1919"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 "
2123"MIME-Version :1.0\n "
2224"Content-Type :text/plain; charset=UTF-8\n "
2325"Content-Transfer-Encoding :8bit\n "
24- "Language :ja\n "
2526"Plural-Forms :nplurals=1; plural=0;\n "
2627
2728#: ../../c-api/allocation.rst:6
@@ -36,67 +37,77 @@ msgid ""
3637"detector's set of observed objects. Other fields of the object are not "
3738"affected."
3839msgstr ""
39- "新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 (initial reference) "
40- "を初期化します。初期化されたオブジェクトを返します。*type* "
41- "からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィールドには影響を及ぼしません。"
40+ "新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 "
41+ "(initial reference) を初期化します。初期化されたオブジェクトを返します。"
42+ "*type* からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構"
43+ "が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィー"
44+ "ルドには影響を及ぼしません。"
4245
4346#: ../../c-api/allocation.rst:26
4447msgid ""
4548"This does everything :c:func:`PyObject_Init` does, and also initializes the "
4649"length information for a variable-size object."
47- msgstr ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には長さ情報も初期化します。"
50+ msgstr ""
51+ ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には"
52+ "長さ情報も初期化します。"
4853
4954#: ../../c-api/allocation.rst:32
5055msgid ""
5156"Allocate a new Python object using the C structure type *TYPE* and the "
5257"Python type object *type*. Fields not defined by the Python object header "
5358"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."
5661msgstr ""
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` "
6066"フィールドで決まります。"
6167
6268#: ../../c-api/allocation.rst:41
6369msgid ""
6470"Allocate a new Python object using the C structure type *TYPE* and the "
6571"Python type object *type*. Fields not defined by the Python object header "
6672"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."
7378msgstr ""
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+ "リ管理の効率が向上します。"
7887
7988#: ../../c-api/allocation.rst:53
8089msgid ""
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."
8695msgstr ""
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+ "ジェクトのフィールド に対してアクセスしてはなりません。"
91101
92102#: ../../c-api/allocation.rst:62
93103msgid ""
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 "
96106"object."
97107msgstr ""
98- "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオブジェクトへのポインタを評価する "
99- ":c:macro:`Py_None` マクロを使わなければなりません。"
108+ "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオ"
109+ "ブジェクトへのポインタを評価する :c:macro:`Py_None` マクロを使わなければなり"
110+ "ません。"
100111
101112#: ../../c-api/allocation.rst:69
102113msgid ":c:func:`PyModule_Create`"