Skip to content

Commit 35deebf

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent 8457f8c commit 35deebf

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

faq/programming.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2648,7 +2648,7 @@ msgid ""
26482648
"confusion with other objects that may have boolean values that evaluate to "
26492649
"false."
26502650
msgstr ""
2651-
"1) :pep:`8` で推奨されるように、同一性テストは ``None`` のチェックの良い方法"
2651+
"1 :pep:`8` で推奨されるように、同一性テストは ``None`` のチェックの良い方法"
26522652
"です。 コードの中で平易な英語のように読めますし、 false と評価される真偽値を"
26532653
"持ちうる他のオブジェクトとの混同を避けます。"
26542654

@@ -2659,7 +2659,7 @@ msgid ""
26592659
"guaranteed to be distinct from other objects. For example, here is how to "
26602660
"implement a method that behaves like :meth:`dict.pop`::"
26612661
msgstr ""
2662-
"2) ``None`` が有効な入力値である場合、省略された引数を検出にはコツがいりま"
2662+
"2 ``None`` が有効な入力値である場合、省略された引数を検出にはコツがいりま"
26632663
"す。 そのような状況では、他のオブジェクトと区別されることが保証されたシング"
26642664
"ルトンの番兵オブジェクトを作れます。 例えば、これは :meth:`dict.pop` のよう"
26652665
"に振る舞うメソッドを実装する方法です:"
@@ -2670,9 +2670,9 @@ msgid ""
26702670
"identity tests. This prevents the code from being confused by objects such "
26712671
"as ``float('NaN')`` that are not equal to themselves."
26722672
msgstr ""
2673-
"3) コンテナの実装では、等価性テストを同一性テストで補強しないといけない場合が"
2674-
"あります。 これは、 ``float('NaN')`` のような自分自身と等価でないオブジェク"
2675-
"トによってコードが混乱するのを防ぐためです。"
2673+
"3 コンテナの実装では、等価性テストを同一性テストで補強しないといけない場合"
2674+
"があります。 これは、 ``float('NaN')`` のような自分自身と等価でないオブジェ"
2675+
"クトによってコードが混乱するのを防ぐためです。"
26762676

26772677
#: ../../faq/programming.rst:1893
26782678
msgid ""

library/collections.abc.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ msgid ""
5959
"remaining mixin methods come from inheritance and can be overridden if "
6060
"desired. Other methods may be added as needed:"
6161
msgstr ""
62-
"1) 新しく定義したクラスは抽象基底クラスのいずれかを直接継承することができま"
62+
"1 新しく定義したクラスは抽象基底クラスのいずれかを直接継承することができま"
6363
"す。その場合クラスは必要な抽象メソッドを提供しなければなりません。残りのミッ"
6464
"クスインメソッドは継承により引き継がれますが、必要ならオーバーライドすること"
6565
"ができます。その他のメソッドは必要に応じて追加することができます:"
@@ -73,7 +73,7 @@ msgid ""
7373
"determine whether the full interface is supported. The exception to this "
7474
"rule is for methods that are automatically inferred from the rest of the API:"
7575
msgstr ""
76-
"2) 既存のクラスや組み込みのクラスを \"仮想派生クラス\" として ABC に登録する"
76+
"2 既存のクラスや組み込みのクラスを \"仮想派生クラス\" として ABC に登録する"
7777
"ことができます。これらのクラスは、全ての抽象メソッドとミックスインメソッドを"
7878
"含む完全な API を定義する必要があります。これにより、そのクラスが完全なイン"
7979
"ターフェースをサポートしているかどうかを、ユーザーが :func:`issubclass` や :"
@@ -99,8 +99,8 @@ msgid ""
9999
"3) Some simple interfaces are directly recognizable by the presence of the "
100100
"required methods (unless those methods have been set to :const:`None`):"
101101
msgstr ""
102-
"3) いくつかの単純なインターフェースは、必要なメソッドの存在だけで (それらのメ"
103-
"ソッドが :const:`None` に設定されていなければ) 直接認識されます:"
102+
"3 いくつかの単純なインターフェースは、必要なメソッドの存在だけで (それらの"
103+
"メソッドが :const:`None` に設定されていなければ) 直接認識されます:"
104104

105105
#: ../../library/collections.abc.rst:99
106106
msgid ""

0 commit comments

Comments
 (0)