File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 3
3
# This file is distributed under the same license as the Python package.
4
4
#
5
5
# Translators:
6
+ # cocoatomo, 2018
6
7
# 秘湯 <xwhhsprings@gmail.com>, 2016
7
8
msgid ""
8
9
msgstr ""
9
10
"Project-Id-Version : Python 2.7\n "
10
11
"Report-Msgid-Bugs-To : \n "
11
12
"POT-Creation-Date : 2018-01-21 01:52+0900\n "
12
- "PO-Revision-Date : 2018-01-20 20:57 +0000\n "
13
+ "PO-Revision-Date : 2018-03-23 01:24 +0000\n "
13
14
"Last-Translator : cocoatomo\n "
14
15
"Language-Team : Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n "
15
16
"MIME-Version : 1.0\n "
@@ -1331,7 +1332,7 @@ msgid ""
1331
1332
"matched at the current point. The regular expression for finding doubled "
1332
1333
"words, ``\\ b(\\ w+)\\ s+\\ 1\\ b`` can also be written as "
1333
1334
"``\\ b(?P<word>\\ w+)\\ s+(?P=word)\\ b``::"
1334
- msgstr ""
1335
+ msgstr "後方参照のための構文 ``(...) \\ 1`` はグループ番号への参照となっています。\nグループ番号の代わりに、グループ名を利用する変種があるのは当然でしょう。\nこれはもう一つの Python 拡張です: ``(?P=name)`` は、 *name* という名前のグループの内容が、現在の位置で再びマッチすることを示しています。\n同じ単語が2つ連なっているのを見つける正規表現 `` \\ b( \\ w+) \\ s+ \\ 1 \\ b`` は `` \\ b(?P<word> \\ w+) \\ s+(?P=word) \\ b`` のように書くけます:: "
1335
1336
1336
1337
#: ../../howto/regex.rst:958
1337
1338
msgid "Lookahead Assertions"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ msgstr ""
10
10
"Project-Id-Version : Python 2.7\n "
11
11
"Report-Msgid-Bugs-To : \n "
12
12
"POT-Creation-Date : 2018-01-27 12:24+0900\n "
13
- "PO-Revision-Date : 2018-03-21 00:16 +0000\n "
13
+ "PO-Revision-Date : 2018-03-23 01:12 +0000\n "
14
14
"Last-Translator : cocoatomo\n "
15
15
"Language-Team : Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n "
16
16
"MIME-Version : 1.0\n "
@@ -2643,7 +2643,7 @@ msgid ""
2643
2643
"Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and "
2644
2644
":meth:`discard` methods may be a set. To support searching for an "
2645
2645
"equivalent frozenset, a temporary one is created from
10000
*elem*."
2646
- msgstr ""
2646
+ msgstr ":meth:`__contains__`, :meth:`remove`, :meth:`discard` メソッドの引数 *elem* は集合かもしれないことに注意してください。\nその集合と等価な :class:`frozenset` の検索をサポートするために、 *elem* から一時的な frozenset を作成します。 "
2647
2647
2648
2648
#: ../../library/stdtypes.rst:2015
2649
2649
msgid ":ref:`comparison-to-builtin-set`"
Original file line number Diff line number Diff line change 3
3
# This file is distributed under the same license as the Python package.
4
4
#
5
5
# Translators:
6
+ # cocoatomo, 2018
6
7
# 秘湯 <xwhhsprings@gmail.com>, 2015-2016
7
8
msgid ""
8
9
msgstr ""
9
10
"Project-Id-Version : Python 2.7\n "
10
11
"Report-Msgid-Bugs-To : \n "
11
12
"POT-Creation-Date : 2018-01-21 01:52+0900\n "
12
- "PO-Revision-Date : 2017-10-17 01:44 +0000\n "
13
+ "PO-Revision-Date : 2018-03-23 01:30 +0000\n "
13
14
"Last-Translator : cocoatomo\n "
14
15
"Language-Team : Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n "
15
16
"MIME-Version : 1.0\n "
@@ -986,7 +987,7 @@ msgid ""
986
987
"statement is unaffected by :keyword:`global` statements in the code "
987
988
"containing the :keyword:`exec` statement. The same applies to the "
988
989
":func:`eval`, :func:`execfile` and :func:`compile` functions."
989
- msgstr ""
990
+ msgstr "**プログラマのための注意書き:** :keyword:`global` はパーサーに対する指示句 (directive) です。この指示句は、 :keyword:`global` 文と同時に読み込まれたコードに対してのみ適用されます。特に、 :keyword:`exec` 文内に入っている :keyword:`global` 文は、 :keyword:`exec` 文を * 含んでいる * コードブロック内に効果を及ぼすことはなく、 :keyword:`exec` 文内に含まれているコードは、 :keyword:`exec` 文を含むコード内での :keyword:`global` 文に影響を受けません。同様のことが、関数 :func:`eval` 、 :func:`execfile` 、および :func:`compile` にも当てはまります。 "
990
991
991
992
#: ../../reference/simple_stmts.rst:988
992
993
msgid "The :keyword:`exec` statement"
Original file line number Diff line number Diff line change 3
3
# This file is distributed under the same license as the Python package.
4
4
#
5
5
# Translators:
6
+ # cocoatomo, 2018
6
7
# 秘湯 <xwhhsprings@gmail.com>, 2015
7
8
msgid ""
8
9
msgstr ""
9
10
"Project-Id-Version : Python 2.7\n "
10
11
"Report-Msgid-Bugs-To : \n "
11
12
"POT-Creation-Date : 2018-01-21 01:52+0900\n "
12
- "PO-Revision-Date : 2018-01-20 17:05 +0000\n "
13
+ "PO-Revision-Date : 2018-03-23 01:28 +0000\n "
13
14
"Last-Translator : cocoatomo\n "
14
15
"Language-Team : Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n "
15
16
"MIME-Version : 1.0\n "
@@ -894,7 +895,7 @@ msgid ""
894
895
"is used right away by an enclosing function. Generator expressions are more"
895
896
" compact but less versatile than full generator definitions and tend to be "
896
897
"more memory friendly than equivalent list comprehensions."
897
- msgstr ""
898
+ msgstr "単純なジェネレータなら式として簡潔にコーディングできます。\nその式はリスト内包表記に似た構文を使いますが、角括弧ではなく丸括弧で囲います。\nジェネレータ式は、関数の中でジェネレータをすぐに使いたいような状況のために用意されています。\nジェネレータ式は完全なジェネレータの定義よりコンパクトですが、ちょっと融通の効かないところがあります。\n同じ内容を返すリスト内包表記よりはメモリに優しいことが多いという利点があります。 "
898
899
899
900
#: ../../tutorial/classes.rst:882
900
901
msgid "Examples::"
You can’t perform that action at this time.
0 commit comments