1
1
# SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2001-2021 , Python Software Foundation
2
+ # Copyright (C) 2001-2022 , 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, 2021
8
- #
8
+ #
9
9
#, fuzzy
10
10
msgid ""
11
11
msgstr ""
12
- "Project-Id-Version : Python 3.10 \n "
12
+ "Project-Id-Version : Python 3.11 \n "
13
13
"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 "
15
15
"PO-Revision-Date : 2021-06-28 00:47+0000\n "
16
16
"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 "
18
19
"MIME-Version : 1.0\n "
19
20
"Content-Type : text/plain; charset=UTF-8\n "
20
21
"Content-Transfer-Encoding : 8bit\n "
@@ -27,73 +28,78 @@ msgstr "オブジェクトをヒープ上にメモリ確保する"
27
28
28
29
#: ../../c-api/allocation.rst:17
29
30
msgid ""
30
- "Initialize a newly- allocated object *op* with its type and initial "
31
+ "Initialize a newly allocated object *op* with its type and initial "
31
32
"reference. Returns the initialized object. If *type* indicates that the "
32
33
"object participates in the cyclic garbage detector, it is added to the "
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
- "からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィールドには影響を及ぼしません。"
39
37
40
38
#: ../../c-api/allocation.rst:26
41
39
msgid ""
42
40
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
43
41
"length information for a variable-size object."
44
- msgstr ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には長さ情報も初期化します。"
42
+ msgstr ""
43
+ ":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には"
44
+ "長さ情報も初期化します。"
45
45
46
46
#: ../../c-api/allocation.rst:32
47
47
msgid ""
48
48
"Allocate a new Python object using the C structure type *TYPE* and the "
49
49
"Python type object *type*. Fields not defined by the Python object header "
50
50
"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."
53
53
msgstr ""
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` "
57
58
"フィールドで決まります。"
58
59
59
60
#: ../../c-api/allocation.rst:41
60
61
msgid ""
61
62
"Allocate a new Python object using the C structure type *TYPE* and the "
62
63
"Python type object *type*. Fields not defined by the Python object header "
63
64
"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."
70
70
msgstr ""
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
+ "リ管理の効率が向上します。"
75
79
76
80
#: ../../c-api/allocation.rst:53
77
81
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."
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."
83
87
msgstr ""
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
+ "ジェクトのフィールド に対してアクセスしてはなりません。"
88
93
89
94
#: ../../c-api/allocation.rst:62
90
95
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 "
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 "
93
98
"object."
94
99
msgstr ""
95
- "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオブジェクトへのポインタを評価する "
96
- ":c:macro:`Py_None` マクロを使わなければなりません。"
100
+ "Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオ"
101
+ "ブジェクトへのポインタを評価する :c:macro:`Py_None` マクロを使わなければなり"
102
+ "ません。"
97
103
98
104
#: ../../c-api/allocation.rst:69
99
105
msgid ":c:func:`PyModule_Create`"
0 commit comments