Skip to content

Commit 7bb1f6d

Browse files
author
github-actions
committed
Merge 3.10 into 3.9
1 parent a68d753 commit 7bb1f6d

File tree

484 files changed

+135515
-105208
lines changed

Some content is hidden

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

484 files changed

+135515
-105208
lines changed

c-api/abstract.po

+15-11
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
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
# Arihiro TAKASE, 2017
88
# tomo, 2018
9-
#
9+
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
@@ -15,11 +15,12 @@ msgstr ""
1515
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
1616
"PO-Revision-Date: 2017-02-16 17:32+0000\n"
1717
"Last-Translator: tomo, 2018\n"
18-
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
18+
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/"
19+
"ja/)\n"
20+
"Language: ja\n"
1921
"MIME-Version: 1.0\n"
2022
"Content-Type: text/plain; charset=UTF-8\n"
2123
"Content-Transfer-Encoding: 8bit\n"
22-
"Language: ja\n"
2324
"Plural-Forms: nplurals=1; plural=0;\n"
2425

2526
#: ../../c-api/abstract.rst:7
@@ -33,15 +34,18 @@ msgid ""
3334
"or all sequence types). When used on object types for which they do not "
3435
"apply, they will raise a Python exception."
3536
msgstr ""
36-
"この章で説明する関数は、オブジェクトの型に依存しないような Python オブジェクトの操作や、(数値型全て、シーケンス型全てといった) "
37-
"大まかな型のオブジェクトに対する操作を行ないます。関数を適用対象でないオブジェクトに対して使った場合、Python の例外が送出されることになります。"
37+
"この章で説明する関数は、オブジェクトの型に依存しないような Python オブジェク"
38+
"トの操作や、(数値型全て、シーケンス型全てといった) 大まかな型のオブジェクトに"
39+
"対する操作を行ないます。関数を適用対象でないオブジェクトに対して使った場合、"
40+
"Python の例外が送出されることになります。"
3841

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

c-api/allocation.po

+47-36
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
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
1313
msgid ""
1414
msgstr ""
@@ -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."
3839
msgstr ""
39-
"新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 (initial reference) "
40-
"を初期化します。初期化されたオブジェクトを返します。*type* "
41-
"からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィールドには影響を及ぼしません。"
40+
"新たにメモリ確保されたオブジェクト *op* に対し、型と初期状態での参照 "
41+
"(initial reference) を初期化します。初期化されたオブジェクトを返します。"
42+
"*type* からそのオブジェクトが循環参照ガベージ検出の機能を有する場合、検出機構"
43+
"が監視対象とするオブジェクトのセットに追加されます。オブジェクトの他のフィー"
44+
"ルドには影響を及ぼしません。"
4245

4346
#: ../../c-api/allocation.rst:26
4447
msgid ""
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
5055
msgid ""
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."
5661
msgstr ""
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
6369
msgid ""
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."
7378
msgstr ""
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
8089
msgid ""
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."
8695
msgstr ""
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
93103
msgid ""
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."
97107
msgstr ""
98-
"Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオブジェクトへのポインタを評価する "
99-
":c:macro:`Py_None` マクロを使わなければなりません。"
108+
"Python からは ``None`` に見えるオブジェクトです。この値へのアクセスは、このオ"
109+
"ブジェクトへのポインタを評価する :c:macro:`Py_None` マクロを使わなければなり"
110+
"ません。"
100111

101112
#: ../../c-api/allocation.rst:69
102113
msgid ":c:func:`PyModule_Create`"

c-api/apiabiversion.po

+13-9
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
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
# 秘湯 <xwhhsprings@gmail.com>, 2017
99
# Arihiro TAKASE, 2017
1010
# Osamu NAKAMURA, 2017
11-
#
11+
#
1212
#, fuzzy
1313
msgid ""
1414
msgstr ""
@@ -17,11 +17,12 @@ msgstr ""
1717
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
1818
"PO-Revision-Date: 2017-02-16 17:33+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/apiabiversion.rst:7
@@ -31,16 +32,18 @@ msgstr "API と ABI のバージョニング"
3132
#: ../../c-api/apiabiversion.rst:9
3233
msgid ""
3334
"``PY_VERSION_HEX`` is the Python version number encoded in a single integer."
34-
msgstr "``PY_VERSION_HEX`` は、Python のバージョン番号を単一の整数に符号化したものです。"
35+
msgstr ""
36+
"``PY_VERSION_HEX`` は、Python のバージョン番号を単一の整数に符号化したもので"
37+
"す。"
3538

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

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

109113
#: ../../c-api/apiabiversion.rst:32
110114
msgid "``29-32``"

0 commit comments

Comments
 (0)