1313# Arihiro TAKASE, 2017
1414# Osamu NAKAMURA, 2017
1515# yudetamago <yudetamago.orz@gmail.com>, 2018
16- # tomo, 2018
16+ # tomo, 2019
1717#
1818#, fuzzy
1919msgid ""
@@ -22,7 +22,7 @@ msgstr ""
2222"Report-Msgid-Bugs-To : \n "
2323"POT-Creation-Date : 2019-01-01 10:14+0900\n "
2424"PO-Revision-Date : 2017-02-16 23:11+0000\n "
25- "Last-Translator : tomo, 2018 \n "
25+ "Last-Translator : tomo, 2019 \n "
2626"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
2727"MIME-Version : 1.0\n "
2828"Content-Type : text/plain; charset=UTF-8\n "
@@ -879,6 +879,13 @@ msgid ""
879879" called. The return value is the result of the evaluated expression. Syntax"
880880" errors are reported as exceptions. Example:"
881881msgstr ""
882+ "*expression* 引数は Python 式 (技術的な言い方では、条件のリスト) として構文解析され評価されます。\n"
883+ "このとき辞書 *globals* および *locals* はそれぞれグローバルおよびローカルな名前空間として使われます。\n"
884+ "*globals* 辞書が与えられ、 ``__builtins__`` をキーとする値が含まれていない場合、 *expression* が構文解析される前に、組み込みモジュール :mod:`builtins` の辞書への参照がキー ``__builtins__`` の値として挿入されます。\n"
885+ "よって、 *expression* は通常、標準の :mod:`builtins` モジュールへの完全なアクセスを有し、制限された環境は伝播します。\n"
886+ "*locals* 辞書が省略された場合、デフォルトは *globals* 辞書です。\n"
887+ "辞書が両方とも省略された場合、表現式は :func:`eval` が呼び出されている環境の下で実行されます。\n"
888+ "構文エラーは例外として報告されます。例:"
882889
883890#: ../../library/functions.rst:453
884891msgid ""
@@ -1213,6 +1220,9 @@ msgid ""
12131220"\" 0x\" . If *x* is not a Python :class:`int` object, it has to define an "
12141221":meth:`__index__` method that returns an integer. Some examples:"
12151222msgstr ""
1223+ "整数を先頭に \" 0x\" が付いた小文字の 16 進文字列に変換します。\n"
1224+ " *x* が Python の :class:`int` オブジェクトでない場合、整数を返す :meth:`__index__` メソッドが定義されていなければなりません。\n"
1225+ "いくつかの例を示します:"
12161226
12171227#: ../../library/functions.rst:689
12181228msgid ""
@@ -1267,6 +1277,10 @@ msgid ""
12671277" returns ``x.__int__()``. If *x* defines :meth:`__trunc__`, it returns "
12681278"``x.__trunc__()``. For floating point numbers, this truncates towards zero."
12691279msgstr ""
1280+ "数値または文字列 *x* から作成された整数オブジェクトを返します。引数が与えられない場合には ``0`` を返します。\n"
1281+ "*x* に :meth:`__int__` が定義されている場合は、 ``int(x)`` は ``x.__int__()`` を返します。\n"
1282+ "*x* に :meth:`__trunc__` が定義されている場合は、 ```x.__trunc__()`` を返します。\n"
1283+ "浮動小数点数については、これは 0 に近い側へ切り捨てます。"
12701284
12711285#: ../../library/functions.rst:745
12721286msgid ""
@@ -1372,6 +1386,8 @@ msgid ""
13721386"block-reader. For example, reading fixed-width blocks from a binary database"
13731387" file until the end of file is reached::"
13741388msgstr ""
1389+ "2引数形式の :func:`iter` の便利な利用方法の1つは、ブロックリーダーの構築です。\n"
1390+ "例えば、バイナリのデータベースファイルから固定幅のブロックをファイルの終端に到達するまで読み出すには次のようにします::"
13751391
13761392#: ../../library/functions.rst:824
13771393msgid ""
0 commit comments