Skip to content

Commit e6596dc

Browse files
author
github-actions
committed
Merge 3.10 into 3.7
1 parent c89e68b commit e6596dc

File tree

471 files changed

+130343
-100510
lines changed

Some content is hidden

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

471 files changed

+130343
-100510
lines changed

c-api/abstract.po

+15-11
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
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
# tomo, 2019
8-
#
8+
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
@@ -14,11 +14,12 @@ msgstr ""
1414
"POT-Creation-Date: 2021-01-01 16:02+0000\n"
1515
"PO-Revision-Date: 2019-09-01 03:42+0000\n"
1616
"Last-Translator: tomo, 2019\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/abstract.rst:7
@@ -32,15 +33,18 @@ msgid ""
3233
"or all sequence types). When used on object types for which they do not "
3334
"apply, they will raise a Python exception."
3435
msgstr ""
35-
"この章で説明する関数は、オブジェクトの型に依存しないような Python オブジェクトの操作や、(数値型全て、シーケンス型全てといった) "
36-
"大まかな型のオブジェクトに対する操作を行ないます。関数を適用対象でないオブジェクトに対して使った場合、Python の例外が送出されることになります。"
36+
"この章で説明する関数は、オブジェクトの型に依存しないような Python オブジェク"
37+
"トの操作や、(数値型全て、シーケンス型全てといった) 大まかな型のオブジェクトに"
38+
"対する操作を行ないます。関数を適用対象でないオブジェクトに対して使った場合、"
39+
"Python の例外が送出されることになります。"
3740

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

c-api/allocation.po

+47-36
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
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
# tomo, 2019
8-
#
8+
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
@@ -14,11 +14,12 @@ msgstr ""
1414
"POT-Creation-Date: 2021-01-01 16:02+0000\n"
1515
"PO-Revision-Date: 2019-09-01 03:40+0000\n"
1616
"Last-Translator: tomo, 2019\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."
3536
msgstr ""
36-
"新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 (initial reference) "
37-
"を初期化します。初期化されたオブジェクトを返します。*type* "
38-
"からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィールドには影響を及ぼしません。"
37+
"新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 "
38+
"(initial reference) を初期化します。初期化されたオブジェクトを返します。"
39+
"*type* からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構"
40+
"が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィー"
41+
"ルドには影響を及ぼしません。"
3942

4043
#: ../../c-api/allocation.rst:26
4144
msgid ""
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
4752
msgid ""
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."
5358
msgstr ""
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
6066
msgid ""
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."
7075
msgstr ""
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
7786
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."
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."
8392
msgstr ""
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
90100
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 "
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."
94104
msgstr ""
95-
"Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオブジェクトへのポインタを評価する "
96-
":c:macro:`Py_None` マクロを使わなければなりません。"
105+
"Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオ"
106+
"ブジェクトへのポインタを評価する :c:macro:`Py_None` マクロを使わなければなり"
107+
"ません。"
97108

98109
#: ../../c-api/allocation.rst:69
99110
msgid ":c:func:`PyModule_Create`"

c-api/apiabiversion.po

+13-9
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
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
# tomo, 2019
8-
#
8+
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
@@ -14,11 +14,12 @@ msgstr ""
1414
"POT-Creation-Date: 2021-01-01 16:02+0000\n"
1515
"PO-Revision-Date: 2019-09-01 03:41+0000\n"
1616
"Last-Translator: tomo, 2019\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/apiabiversion.rst:7
@@ -28,16 +29,18 @@ msgstr "API と ABI のバージョニング"
2829
#: ../../c-api/apiabiversion.rst:9
2930
msgid ""
3031
"``PY_VERSION_HEX`` is the Python version number encoded in a single integer."
31-
msgstr "``PY_VERSION_HEX`` は、Python のバージョン番号を単一の整数に符号化したものです。"
32+
msgstr ""
33+
"``PY_VERSION_HEX`` は、Python のバージョン番号を単一の整数に符号化したもので"
34+
"す。"
3235

3336
#: ../../c-api/apiabiversion.rst:11
3437
msgid ""
3538
"For example if the ``PY_VERSION_HEX`` is set to ``0x030401a2``, the "
3639
"underlying version information can be found by treating it as a 32 bit "
3740
"number in the following manner:"
3841
msgstr ""
39-
"例えば、``PY_VERSION_HEX`` に ``0x030401a2`` "
40-
"が設定されていれば、その値を下記のように32ビットの値として扱うことで、バージョン情報を得ることができます:"
42+
"例えば、``PY_VERSION_HEX`` に ``0x030401a2`` が設定されていれば、その値を下記"
43+
"のように32ビットの値として扱うことで、バージョン情報を得ることができます:"
4144

4245
#: ../../c-api/apiabiversion.rst:16
4346
msgid "Bytes"
@@ -100,8 +103,9 @@ msgid ""
100103
"``PY_RELEASE_LEVEL`` (``0xA`` for alpha, ``0xB`` for beta, ``0xC`` for "
101104
"release candidate and ``0xF`` for final), in this case it is alpha."
102105
msgstr ""
103-
"``PY_RELEASE_LEVEL`` (アルファ版では ``0xA``、ベータ版では ``0xB``、リリース候補版では "
104-
"``0xC``、そして最終版は ``0xF``)、この例ではアルファ版を意味しています。"
106+
"``PY_RELEASE_LEVEL`` (アルファ版では ``0xA``、ベータ版では ``0xB``、リリース"
107+
"候補版では ``0xC``、そして最終版は ``0xF``)、この例ではアルファ版を意味してい"
108+
"ます。"
105109

106110
#: ../../c-api/apiabiversion.rst:32
107111
msgid "``29-32``"

0 commit comments

Comments
 (0)