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

Commit7f9f5b8

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

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎library/dataclasses.po

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,18 @@ msgid ""
8686
"class, the behavior depends on the parameter, as documented below. The "
8787
"decorator returns the same class that is called on; no new class is created."
8888
msgstr""
89+
":func:`dataclass` デコレータは、後述する様々な\"ダンダー\" メソッド(訳注:dunderはdouble "
90+
"underscoreの略で、アンダースコア2つで始まるメソッド)をクラスに追加します。クラスに既にこれらのメソッドが存在する場合の動作は、後述する引数によって異なります。デコレータは呼び出した際に指定したクラスと同じクラスを返します。新しいクラスは生成されません。"
8991

9092
#:../../library/dataclasses.rst:67
9193
msgid""
9294
"If :func:`dataclass` is used just as a simple decorator with no parameters, "
9395
"it acts as if it has the default values documented in this signature. That "
9496
"is, these three uses of :func:`dataclass` are equivalent::"
9597
msgstr""
98+
":func:`dataclass` "
99+
"が引数を指定しない単純なデコレータとして使用された場合、シグネチャに文書化されたデフォルト値のとおりに動作します。つまり、以下の3つの "
100+
":func:`dataclass` の用例は同等です::"
96101

97102
#:../../library/dataclasses.rst:84
98103
msgid"The parameters to :func:`dataclass` are:"
@@ -102,12 +107,12 @@ msgstr ":func:`dataclass` の引数は以下の通りです::"
102107
msgid""
103108
"``init``: If true (the default), a :meth:`__init__` method will be "
104109
"generated."
105-
msgstr""
110+
msgstr"``init``: true (デフォルト値) を指定すると、 :meth:`__init__` メソッドが生成されます。"
106111

107112
#:../../library/dataclasses.rst:89
108113
msgid""
109114
"If the class already defines :meth:`__init__`, this parameter is ignored."
110-
msgstr""
115+
msgstr"もしクラスに :meth:`__init__` が既に定義されていた場合は、この引数は無視されます。"
111116

112117
#:../../library/dataclasses.rst:92
113118
msgid""
@@ -122,7 +127,7 @@ msgstr ""
122127
#:../../library/dataclasses.rst:99
123128
msgid""
124129
"If the class already defines :meth:`__repr__`, this parameter is ignored."
125-
msgstr""
130+
msgstr"もしクラスに :meth:`__repr__` が既に定義されていた場合は、この引数は無視されます。"
126131

127132
#:../../library/dataclasses.rst:102
128133
msgid""
@@ -134,7 +139,7 @@ msgstr ""
134139
#:../../library/dataclasses.rst:107
135140
msgid""
136141
"If the class already defines :meth:`__eq__`, this parameter is ignored."
137-
msgstr""
142+
msgstr"もしクラスに :meth:`__eq__` が既に定義されていた場合は、この引数は無視されます。"
138143

139144
#:../../library/dataclasses.rst:110
140145
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp