Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4ba928c

Browse files
author
github-actions
committed
Merge 3.10 into 2.7
1 parent0b565d0 commit4ba928c

File tree

474 files changed

+118707
-50471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

474 files changed

+118707
-50471
lines changed

‎c-api/abstract.po

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) 1990-2021, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
# Translators:
66
msgid ""
77
msgstr ""
@@ -10,11 +10,12 @@ msgstr ""
1010
"POT-Creation-Date:2021-01-01 01:01+0900\n"
1111
"PO-Revision-Date:2019-09-01 05:18+0000\n"
1212
"Last-Translator:tomo\n"
13-
"Language-Team:Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n"
13+
"Language-Team:Japanese (http://www.transifex.com/python-doc/python-27/"
14+
"language/ja/)\n"
15+
"Language:ja\n"
1416
"MIME-Version:1.0\n"
1517
"Content-Type:text/plain; charset=UTF-8\n"
1618
"Content-Transfer-Encoding:8bit\n"
17-
"Language:ja\n"
1819
"Plural-Forms:nplurals=1; plural=0;\n"
1920

2021
#:../../c-api/abstract.rst:8
@@ -27,12 +28,19 @@ msgid ""
2728
"their type, or with wide classes of object types (e.g. all numerical types, "
2829
"or all sequence types). When used on object types for which they do not "
2930
"apply, they will raise a Python exception."
30-
msgstr"この章で説明する関数は、オブジェクトの型に依存しないような Python オブジェクトの操作や、(数値型全て、シーケンス型全てといった)大まかな型のオブジェクトに対する操作を行ないます。関数を適用対象でないオブジェクトに対して使った場合、Python の例外が送出されることになります。"
31+
msgstr""
32+
"この章で説明する関数は、オブジェクトの型に依存しないような Python オブジェク"
33+
"トの操作や、(数値型全て、シーケンス型全てといった)大まかな型のオブジェクトに"
34+
"対する操作を行ないます。関数を適用対象でないオブジェクトに対して使った場合、"
35+
"Python の例外が送出されることになります。"
3136

3237
#:../../c-api/abstract.rst:15
3338
msgid""
3439
"It is not possible to use these functions on objects that are not properly "
35-
"initialized, such as a list object that has been created by "
36-
":c:func:`PyList_New`, but whose items have not been set to some non-\\ "
37-
"``NULL`` value yet."
38-
msgstr"これらの関数は、 :c:func:`PyList_New` で作成された後に ``NULL`` 以外の値を設定されていないリストのような、適切に初期化されていないオブジェクトに対して使うことはできません。"
40+
"initialized, such as a list object that has been created by :c:func:"
41+
"`PyList_New`, but whose items have not been set to some non-\\ ``NULL`` "
42+
"value yet."
43+
msgstr""
44+
"これらの関数は、 :c:func:`PyList_New` で作成された後に ``NULL`` 以外の値を設"
45+
"定されていないリストのような、適切に初期化されていないオブジェクトに対して使"
46+
"うことはできません。"

‎c-api/allocation.po

Lines changed: 85 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) 1990-2021, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
# Translators:
66
# tomo, 2017
77
# 秘湯 <xwhhsprings@gmail.com>, 2016
@@ -12,11 +12,12 @@ msgstr ""
1212
"POT-Creation-Date:2021-01-01 01:01+0900\n"
1313
"PO-Revision-Date:2018-01-20 20:53+0000\n"
1414
"Last-Translator:tomo\n"
15-
"Language-Team:Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n"
15+
"Language-Team:Japanese (http://www.transifex.com/python-doc/python-27/"
16+
"language/ja/)\n"
17+
"Language:ja\n"
1618
"MIME-Version:1.0\n"
1719
"Content-Type:text/plain; charset=UTF-8\n"
1820
"Content-Transfer-Encoding:8bit\n"
19-
"Language:ja\n"
2021
"Plural-Forms:nplurals=1; plural=0;\n"
2122

2223
#:../../c-api/allocation.rst:6
@@ -28,7 +29,9 @@ msgstr "オブジェクトをヒープ上にメモリ確保する"
2829
msgid""
2930
"This function used an :c:type:`int` type for *size*. This might require "
3031
"changes in your code for properly supporting 64-bit systems."
31-
msgstr"この関数は以前は *size* の型に :c:type:`int` を利用していました。この変更により、 64bit システムを正しくサポートするには修正が必要になります。"
32+
msgstr""
33+
"この関数は以前は *size* の型に :c:type:`int` を利用していました。この変更によ"
34+
"り、 64bit システムを正しくサポートするには修正が必要になります。"
3235

3336
#:../../c-api/allocation.rst:24
3437
msgid""
@@ -37,84 +40,126 @@ msgid ""
3740
"object participates in the cyclic garbage detector, it is added to the "
3841
"detector's set of observed objects. Other fields of the object are not "
3942
"affected."
40-
msgstr"新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 (initial reference) を初期化します。初期化されたオブジェクトを返します。*type* からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィールドには影響を及ぼしません。"
43+
msgstr""
44+
"新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 "
45+
"(initial reference) を初期化します。初期化されたオブジェクトを返します。"
46+
"*type* からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構"
47+
"が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィー"
48+
"ルドには影響を及ぼしません。"
4149

4250
#:../../c-api/allocation.rst:33
4351
msgid""
4452
"This does everything :c:func:`PyObject_Init` does, and also initializes the "
4553
"length information for a variable-size object."
46-
msgstr":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には長さ情報も初期化します。"
54+
msgstr""
55+
":c:func:`PyObject_Init` の全ての処理を行い、可変サイズオブジェクトの場合には"
56+
"長さ情報も初期化します。"
4757

4858
#:../../c-api/allocation.rst:43
4959
msgid""
5060
"Allocate a new Python object using the C structure type *TYPE* and the "
5161
"Python type object *type*. Fields not defined by the Python object header "
5262
"are not initialized; the object's reference count will be one. The size of "
53-
"the memory allocation is determined from the "
54-
":c:member:`~PyTypeObject.tp_basicsize` field of the type object."
55-
msgstr"C 構造体型 *TYPE* と Python型オブジェクト *type* を使って、新しい Python オブジェクトをメモリ上に確保します。Pythonオブジェクトヘッダで定義されていないフィールドは初期化されません; オブジェクトの参照カウントは 1 になります。確保するメモリのサイズは型オブジェクトの :c:member:`~PyTypeObject.tp_basicsize` フィールドで決まります。"
63+
"the memory allocation is determined from the :c:member:`~PyTypeObject."
64+
"tp_basicsize` field of the type object."
65+
msgstr""
66+
"C 構造体型 *TYPE* と Python型オブジェクト *type* を使って、新しい Python オブ"
67+
"ジェクトをメモリ上に確保します。Pythonオブジェクトヘッダで定義されていない"
68+
"フィールドは初期化されません; オブジェクトの参照カウントは 1 になります。確保"
69+
"するメモリのサイズは型オブジェクトの :c:member:`~PyTypeObject.tp_basicsize` "
70+
"フィールドで決まります。"
5671

5772
#:../../c-api/allocation.rst:52
5873
msgid""
5974
"Allocate a new Python object using the C structure type *TYPE* and the "
6075
"Python type object *type*. Fields not defined by the Python object header "
6176
"are not initialized. The allocated memory allows for the *TYPE* structure "
62-
"plus *size* fields of the size given by the "
63-
":c:member:`~PyTypeObject.tp_itemsize` field of *type*. This is useful for "
64-
"implementing objects like tuples, which are able to determine their size at "
65-
"construction time. Embedding the array of fields into the same allocation "
66-
"decreases the number of allocations, improving the memory management "
67-
"efficiency."
68-
msgstr"C 構造体型 *TYPE* と Python 型オブジェクト *type* を使って新しい Python オブジェクトをメモリ上に確保します。 Python オブジェクトヘッダで定義されていないフィールドは初期化されません。確保されたメモリは、 *TYPE* 構造体に加え、*type* の :c:member:`~PyTypeObject.tp_itemsize` フィールドで指定されているサイズを *size* 個分の大きさを格納できます。この関数は、例えばタプルのように生成時にサイズを決定できるオブジェクトを実装する際に便利です。一連の複数のフィールドのメモリ割り当てを一度で行うことでアロケーション回数を減らし、メモリ管理の効率が向上します。"
77+
"plus *size* fields of the size given by the :c:member:`~PyTypeObject."
78+
"tp_itemsize` field of *type*. This is useful for implementing objects like "
79+
"tuples, which are able to determine their size at construction time. "
80+
"Embedding the array of fields into the same allocation decreases the number "
81+
"of allocations, improving the memory management efficiency."
82+
msgstr""
83+
"C 構造体型 *TYPE* と Python 型オブジェクト *type* を使って新しい Python オブ"
84+
"ジェクトをメモリ上に確保します。 Python オブジェクトヘッダで定義されていない"
85+
"フィールドは初期化されません。確保されたメモリは、 *TYPE* 構造体に加え、"
86+
"*type* の :c:member:`~PyTypeObject.tp_itemsize` フィールドで指定されているサ"
87+
"イズを *size* 個分の大きさを格納できます。この関数は、例えばタプルのように生"
88+
"成時にサイズを決定できるオブジェクトを実装する際に便利です。一連の複数の"
89+
"フィールドのメモリ割り当てを一度で行うことでアロケーション回数を減らし、メモ"
90+
"リ管理の効率が向上します。"
6991

7092
#:../../c-api/allocation.rst:68
7193
msgid""
72-
"Releases memory allocated to an object using :c:func:`PyObject_New` or "
73-
":c:func:`PyObject_NewVar`. This is normally called from the "
74-
":c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's type."
75-
" The fields of the object should not be accessed after this call as the "
76-
"memory is no longer a valid Python object."
77-
msgstr":c:func:`PyObject_New` や :c:func:`PyObject_NewVar` で 確保したメモリを解放します。通常、この関数はオブジェクトの型に指定されている :c:member:`~PyTypeObject.tp_dealloc` ハンドラから呼び出されます。 この関数を呼び出した後は、メモリ領域はもはや有効な Python オブジェクトを表現していないので、オブジェクトのフィールド に対してアクセスしてはなりません。"
94+
"Releases memory allocated to an object using :c:func:`PyObject_New` or :c:"
95+
"func:`PyObject_NewVar`. This is normally called from the :c:member:"
96+
"`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
97+
"fields of the object should not be accessed after this call as the memory is "
98+
"no longer a valid Python object."
99+
msgstr""
100+
":c:func:`PyObject_New` や :c:func:`PyObject_NewVar` で 確保したメモリを解放し"
101+
"ます。通常、この関数はオブジェクトの型に指定されている :c:member:"
102+
"`~PyTypeObject.tp_dealloc` ハンドラから呼び出されます。 この関数を呼び出した"
103+
"後は、メモリ領域はもはや有効な Python オブジェクトを表現していないので、オブ"
104+
"ジェクトのフィールド に対してアクセスしてはなりません。"
78105

79106
#:../../c-api/allocation.rst:77
80107
msgid""
81-
"Create a new module object based on a name and table of functions, returning"
82-
" the new module object."
83-
msgstr"*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成されたモジュールオブジェクトを返します。"
108+
"Create a new module object based on a name and table of functions, returning "
109+
"the new module object."
110+
msgstr""
111+
"*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成さ"
112+
"れたモジュールオブジェクトを返します。"
84113

85114
#:../../c-api/allocation.rst:80../../c-api/allocation.rst:91
86115
#:../../c-api/allocation.rst:113
87116
msgid""
88117
"Older versions of Python did not support *NULL* as the value for the "
89118
"*methods* argument."
90-
msgstr"以前のバージョンの Python では、 *methods* 引数の値として *NULL* をサポートしていませんでした."
119+
msgstr""
120+
"以前のバージョンの Python では、 *methods* 引数の値として *NULL* をサポートし"
121+
"ていませんでした."
91122

92123
#:../../c-api/allocation.rst:87
93124
msgid""
94-
"Create a new module object based on a name and table of functions, returning"
95-
"the new module object. If *doc* is non-*NULL*, it will be used to define "
125+
"Create a new module object based on a name and table of functions, returning"
126+
"the new module object. If *doc* is non-*NULL*, it will be used to define "
96127
"the docstring for the module."
97-
msgstr"*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成されたモジュールオブジェクトを返します。 *doc* が *NULL* でない場合、モジュールの docstring として使われます。"
128+
msgstr""
129+
"*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成さ"
130+
"れたモジュールオブジェクトを返します。 *doc* が *NULL* でない場合、モジュール"
131+
"の docstring として使われます。"
98132

99133
#:../../c-api/allocation.rst:98
100134
msgid""
101-
"Create a new module object based on a name and table of functions, returning"
102-
"the new module object. If *doc* is non-*NULL*, it will be used to define "
103-
"the docstring for the module. If *self* is non-*NULL*, it will be passed to"
104-
"the functions of the module as their (otherwise *NULL*) first parameter. "
135+
"Create a new module object based on a name and table of functions, returning"
136+
"the new module object. If *doc* is non-*NULL*, it will be used to define "
137+
"the docstring for the module. If *self* is non-*NULL*, it will be passed to"
138+
"the functions of the module as their (otherwise *NULL*) first parameter. "
105139
"(This was added as an experimental feature, and there are no known uses in "
106140
"the current version of Python.) For *apiver*, the only value which should "
107141
"be passed is defined by the constant :const:`PYTHON_API_VERSION`."
108-
msgstr"*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成されたモジュールオブジェクトを返します。 *doc* が *NULL* でない場合、モジュールの docstring として使われます。 *self* が *NULL* でない場合、モジュール内の各関数の第一引数として渡されます (*NULL* の時には第一引数も *NULL* になります)。 (この関数は実験的な機能のために追加されたもので、現在の Python のバージョンで使われてはいないはずです。) *apiver* に渡してよい値は、 :const:`PYTHON_API_VERSION` で定義されている定数だけです。"
142+
msgstr""
143+
"*name* と関数のテーブルに基づいて新たなモジュールオブジェクトを生成し、生成さ"
144+
"れたモジュールオブジェクトを返します。 *doc* が *NULL* でない場合、モジュール"
145+
"の docstring として使われます。 *self* が *NULL* でない場合、モジュール内の各"
146+
"関数の第一引数として渡されます (*NULL* の時には第一引数も *NULL* になりま"
147+
"す)。 (この関数は実験的な機能のために追加されたもので、現在の Python のバー"
148+
"ジョンで使われてはいないはずです。) *apiver* に渡してよい値は、 :const:"
149+
"`PYTHON_API_VERSION` で定義されている定数だけです。"
109150

110151
#:../../c-api/allocation.rst:109
111152
msgid""
112-
"Most uses of this function should probably be using the "
113-
":c:func:`Py_InitModule3` instead; only use this if you are sure you need it."
114-
msgstr"この関数のほとんどの用途は、代わりに :c:func:`Py_InitModule3` を使えるはずです; 本当にこの関数の必要性を理解しているときにだけ利用してください。"
153+
"Most uses of this function should probably be using the :c:func:"
154+
"`Py_InitModule3` instead; only use this if you are sure you need it."
155+
msgstr""
156+
"この関数のほとんどの用途は、代わりに :c:func:`Py_InitModule3` を使えるはずで"
157+
"す; 本当にこの関数の必要性を理解しているときにだけ利用してください。"
115158

116159
#:../../c-api/allocation.rst:120
117160
msgid""
118-
"Object which is visible in Python as ``None``. This should only be accessed"
119-
" using the ``Py_None`` macro, which evaluates to a pointer to this object."
120-
msgstr"Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオブジェクトへのポインタを評価する ``Py_None`` マクロを使わねばなりません。"
161+
"Object which is visible in Python as ``None``. This should only be accessed "
162+
"using the ``Py_None`` macro, which evaluates to a pointer to this object."
163+
msgstr""
164+
"Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオ"
165+
"ブジェクトへのポインタを評価する ``Py_None`` マクロを使わねばなりません。"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp