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

Commit02fff5b

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parente739a2b commit02fff5b

File tree

2 files changed

+3567
-3550
lines changed

2 files changed

+3567
-3550
lines changed

‎library/dataclasses.po

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ msgid ""
5252
"Note that this method is automatically added to the class: it is not "
5353
"directly specified in the ``InventoryItem`` definition shown above."
5454
msgstr""
55-
"このメソッドは自動的にクラスに追加される点に留意して下さい。メソッドは、上記の``InventoryItem`` "
56-
"の定義中に直接明記されるわけではありません。"
55+
"このメソッドは自動的にクラスに追加される点に留意して下さい。上記の``InventoryItem`` "
56+
"クラスの定義中にこのメソッドが直接明記されるわけではありません。"
5757

5858
#:../../library/dataclasses.rst:45
5959
msgid"Module-level decorators, classes, and functions"
@@ -135,6 +135,8 @@ msgid ""
135135
"This method compares the class as if it were a tuple of its fields, in "
136136
"order. Both instances in the comparison must be of the identical type."
137137
msgstr""
138+
"``eq``: true (デフォルト値) を指定すると、 :meth:`__eq__` "
139+
"メソッドが生成されます。このメソッドはクラスの比較を、そのクラスのフィールドからなるタプルを比較するように行います。比較する2つのインスタンスのクラスは同一でなければなりません。"
138140

139141
#:../../library/dataclasses.rst:107
140142
msgid""
@@ -149,12 +151,18 @@ msgid ""
149151
"order. Both instances in the comparison must be of the identical type. If "
150152
"``order`` is true and ``eq`` is false, a :exc:`ValueError` is raised."
151153
msgstr""
154+
"``order``: true を指定すると(デフォルト値は ``False``です) 、 "
155+
":meth:`__lt__`、:meth:`__le__`、:meth:`__gt__`、:meth:`__ge__` "
156+
"メソッドが生成されます。これらの比較は、クラスをそのフィールドからなるタプルであるかのように取り扱います。比較される2つのインスタンスは、同一の型でなければなりません。もし"
157+
" ``order`` が true で、 ``eq`` に falseを指定すすると、:exc:`ValueError` が送出されます。"
152158

153159
#:../../library/dataclasses.rst:117
154160
msgid""
155161
"If the class already defines any of :meth:`__lt__`, :meth:`__le__`, "
156162
":meth:`__gt__`, or :meth:`__ge__`, then :exc:`TypeError` is raised."
157163
msgstr""
164+
"もし、クラスで既に :meth:`__lt__`, :meth:`__le__`, :meth:`__gt__`, または :meth:`__ge__`"
165+
" のいずれかが定義されていると :exc:`TypeError` が送出されます。"
158166

159167
#:../../library/dataclasses.rst:121
160168
msgid""
@@ -222,20 +230,23 @@ msgstr ""
222230
msgid""
223231
"``field``\\s may optionally specify a default value, using normal Python "
224232
"syntax::"
225-
msgstr""
233+
msgstr"``フィールド`` には、通常の Python の文法でデフォルト値を指定できます。"
226234

227235
#:../../library/dataclasses.rst:170
228236
msgid""
229237
"In this example, both ``a`` and ``b`` will be included in the added "
230238
":meth:`__init__` method, which will be defined as::"
231239
msgstr""
240+
"この例では、生成された :meth:`__init__` メソッドには``a`` と ``b`` の両方が含まれ、以下のように定義されます::"
232241

233242
#:../../library/dataclasses.rst:175
234243
msgid""
235244
":exc:`TypeError` will be raised if a field without a default value follows a"
236245
" field with a default value. This is true either when this occurs in a "
237246
"single class, or as a result of class inheritance."
238247
msgstr""
248+
"デフォルト値を指定しないフィールドをデフォルト値を指定したフィールドの後ろに定義すると、 :exc:`TypeError` "
249+
"が送出されます。これは、単一のクラスであっても、クラス継承の結果でも起きえます。"
239250

240251
#:../../library/dataclasses.rst:181
241252
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp