11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2021 , Python Software Foundation
2+ # Copyright (C) 2001-2022 , 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, 2021
8- #
8+ #
99#, fuzzy
1010msgid ""
1111msgstr ""
12- "Project-Id-Version : Python 3.10 \n "
12+ "Project-Id-Version : Python 3.11 \n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2021-06-29 12:56 +0000\n "
14+ "POT-Creation-Date : 2022-12-28 04:14 +0000\n "
1515"PO-Revision-Date : 2021-06-28 00:47+0000\n "
1616"Last-Translator : tomo, 2021\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 "
1819"MIME-Version : 1.0\n "
1920"Content-Type : text/plain; charset=UTF-8\n "
2021"Content-Transfer-Encoding : 8bit\n "
@@ -27,73 +28,78 @@ msgstr "オブジェクトをヒープ上にメモリ確保する"
2728
2829#: ../../c-api/allocation.rst:17
2930msgid ""
30- "Initialize a newly- allocated object *op* with its type and initial "
31+ "Initialize a newly allocated object *op* with its type and initial "
3132"reference. Returns the initialized object. If *type* indicates that the "
3233"object participates in the cyclic garbage detector, it is added to the "
3334"detector's set of observed objects. Other fields of the object are not "
3435"affected."
3536msgstr ""
36- "新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 (initial reference) "
37- "を初期化します。初期化されたオブジェクトを返します。*type* "
38- "からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィールドには影響を及ぼしません。"
3937
4038#: ../../c-api/allocation.rst:26
4139msgid ""
4240"This does everything :c:func:`PyObject_Init` does, and also initializes the "
4341"length information for a variable-size object."
44- msgstr ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には長さ情報も初期化します。"
42+ msgstr ""
43+ ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には"
44+ "長さ情報も初期化します。"
4545
4646#: ../../c-api/allocation.rst:32
4747msgid ""
4848"Allocate a new Python object using the C structure type *TYPE* and the "
4949"Python type object *type*. Fields not defined by the Python object header "
5050"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."
51+ "the memory allocation is determined from the :c:member:`~PyTypeObject. "
52+ "tp_basicsize` field of the type object."
5353msgstr ""
54- "C 構造体型 *TYPE* と Python型オブジェクト *type* を使って、新しい Python "
55- "オブジェクトをメモリ上に確保します。Pythonオブジェクトヘッダで定義されていないフィールドは初期化されません; オブジェクトの参照カウントは 1 "
56- "になります。確保するメモリのサイズは型オブジェクトの :c:member:`~PyTypeObject.tp_basicsize` "
54+ "C 構造体型 *TYPE* と Python型オブジェクト *type* を使って、新しい Python オブ"
55+ "ジェクトをメモリ上に確保します。Pythonオブジェクトヘッダで定義されていない"
56+ "フィールドは初期化されません; オブジェクトの参照カウントは 1 になります。確保"
57+ "するメモリのサイズは型オブジェクトの :c:member:`~PyTypeObject.tp_basicsize` "
5758"フィールドで決まります。"
5859
5960#: ../../c-api/allocation.rst:41
6061msgid ""
6162"Allocate a new Python object using the C structure type *TYPE* and the "
6263"Python type object *type*. Fields not defined by the Python object header "
6364"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."
65+ "plus *size* fields of the size given by the :c:member:`~PyTypeObject."
66+ "tp_itemsize` field of *type*. This is useful for implementing objects like "
67+ "tuples, which are able to determine their size at construction time. "
68+ "Embedding the array of fields into the same allocation decreases the number "
69+ "of allocations, improving the memory management efficiency."
7070msgstr ""
71- "C 構造体型 *TYPE* と Python 型オブジェクト *type* を使って新しい Python オブジェクトをメモリ上に確保します。 "
72- "Python オブジェクトヘッダで定義されていないフィールドは初期化されません。確保されたメモリは、 *TYPE* 構造体に加え、*type* の "
73- ":c:member:`~PyTypeObject.tp_itemsize` フィールドで指定されているサイズを *size* "
74- "個分の大きさを格納できます。この関数は、例えばタプルのように生成時にサイズを決定できるオブジェクトを実装する際に便利です。一連の複数のフィールドのメモリ割り当てを一度で行うことでアロケーション回数を減らし、メモリ管理の効率が向上します。"
71+ "C 構造体型 *TYPE* と Python 型オブジェクト *type* を使って新しい Python オブ"
72+ "ジェクトをメモリ上に確保します。 Python オブジェクトヘッダで定義されていない"
73+ "フィールドは初期化されません。確保されたメモリは、 *TYPE* 構造体に加え、"
74+ "*type* の :c:member:`~PyTypeObject.tp_itemsize` フィールドで指定されているサ"
75+ "イズを *size* 個分の大きさを格納できます。この関数は、例えばタプルのように生"
76+ "成時にサイズを決定できるオブジェクトを実装する際に便利です。一連の複数の"
77+ "フィールドのメモリ割り当てを一度で行うことでアロケーション回数を減らし、メモ"
78+ "リ管理の効率が向上します。"
7579
7680#: ../../c-api/allocation.rst:53
7781msgid ""
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."
82+ "Releases memory allocated to an object using :c:func:`PyObject_New` or :c: "
83+ "func:`PyObject_NewVar`. This is normally called from the :c:member: "
84+ "`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
85+ "fields of the object should not be accessed after this call as the memory is "
86+ "no longer a valid Python object."
8387msgstr ""
84- ":c:func:`PyObject_New` や :c:func:`PyObject_NewVar` で "
85- "確保したメモリを解放します。通常、この関数はオブジェクトの型に指定されている :c:member:`~PyTypeObject.tp_dealloc` "
86- "ハンドラから呼び出されます。 この関数を呼び出した後は、メモリ領域はもはや有効な Python "
87- "オブジェクトを表現していないので、オブジェクトのフィールド に対してアクセスしてはなりません。"
88+ ":c:func:`PyObject_New` や :c:func:`PyObject_NewVar` で 確保したメモリを解放し"
89+ "ます。通常、この関数はオブジェクトの型に指定されている :c:member:"
90+ "`~PyTypeObject.tp_dealloc` ハンドラから呼び出されます。 この関数を呼び出した"
91+ "後は、メモリ領域はもはや有効な Python オブジェクトを表現していないので、オブ"
92+ "ジェクトのフィールド に対してアクセスしてはなりません。"
8893
8994#: ../../c-api/allocation.rst:62
9095msgid ""
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 "
96+ "Object which is visible in Python as ``None``. This should only be accessed "
97+ "using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
9398"object."
9499msgstr ""
95- "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオブジェクトへのポインタを評価する "
96- ":c:macro:`Py_None` マクロを使わなければなりません。"
100+ "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオ"
101+ "ブジェクトへのポインタを評価する :c:macro:`Py_None` マクロを使わなければなり"
102+ "ません。"
97103
98104#: ../../c-api/allocation.rst:69
99105msgid ":c:func:`PyModule_Create`"
0 commit comments