File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1422,6 +1422,9 @@ msgid ""
1422
1422
"of the *value* argument; however, there is a standard formatting syntax that "
1423
1423
"is used by most built-in types: :ref:`formatspec`."
1424
1424
msgstr ""
1425
+ "*value* を *format_spec* で指示された通りに \" 整形\" した文字列表現に変換しま"
1426
+ "す。 *format_spec* の解釈は *value* 引数の型に依存しますが、ほとんどの組み込"
1427
+ "み型で使われる標準的な構文が存在します: :ref:`formatspec`。"
1425
1428
1426
1429
#: ../../library/functions.rst:696
1427
1430
msgid ""
@@ -1483,6 +1486,13 @@ msgid ""
1483
1486
"exist, *default* is returned if provided, otherwise :exc:`AttributeError` is "
1484
1487
"raised. *name* need not be a Python identifier (see :func:`setattr`)."
1485
1488
msgstr ""
1489
+ "*object* の指定された属性の値を返します。 *name* は文字列でなければなりませ"
1490
+ "ん。与えられた文字列がオブジェクトの属性名のうちいずれかに一致すれば、戻り値"
1491
+ "はその属性の値になります。たとえば、 ``getattr(x, 'foobar')`` は ``x."
1492
+ "foobar`` と等価です。もし指定された属性が存在しない場合、 *default* が指定さ"
1493
+ "れていればその値が返されます。そうでない場合は :exc:`AttributeError` が送出さ"
1494
+ "れます。 *name* は Python 識別子である必要はありません (:func:`setattr` を参"
1495
+ "照してください)。"
1486
1496
1487
1497
#: ../../library/functions.rst:735
1488
1498
msgid ""
You can’t perform that action at this time.
0 commit comments