@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version :Python 3.8\n "
14
14
"Report-Msgid-Bugs-To :\n "
15
- "POT-Creation-Date :2019-10-31 11:48 +0000\n "
15
+ "POT-Creation-Date :2019-11-21 11:59 +0000\n "
16
16
"PO-Revision-Date :2017-02-16 17:37+0000\n "
17
17
"Last-Translator :tomo, 2018\n "
18
18
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -39,27 +39,25 @@ msgid ""
39
39
"Return ``1`` if the object provides mapping protocol or supports slicing, "
40
40
"and ``0`` otherwise. Note that it returns ``1`` for Python classes with a "
41
41
":meth:`__getitem__` method since in general case it is impossible to "
42
- "determine whatthe type of keys it supports. This function always succeeds."
42
+ "determine what type of keys it supports. This function always succeeds."
43
43
msgstr ""
44
- "オブジェクトがマップ型プロトコルを提供しているか、スライスをサポートしている場合は ``1`` を、そうでない場合は ``0`` を返します。\n"
45
- ":meth:`__getitem__` メソッドを持つ Python クラスについては ``1`` を返すのに注意してください。そうなる理由は、一般的なケースではオブジェクトがどの種類のキーをサポートしているかを判別するのが不可能だからです。"
46
44
47
- #: ../../c-api/mapping.rst:26
45
+ #: ../../c-api/mapping.rst:25
48
46
msgid ""
49
47
"Returns the number of keys in object *o* on success, and ``-1`` on failure. "
50
48
"This is equivalent to the Python expression ``len(o)``."
51
49
msgstr ""
52
50
"成功するとオブジェクト *o* 中のキーの数を返し、失敗すると ``-1`` を返します。これは、Python の式 ``len(o)`` "
53
51
"と同じになります。"
54
52
55
- #: ../../c-api/mapping.rst:32
53
+ #: ../../c-api/mapping.rst:31
56
54
msgid ""
57
55
"Return element of *o* corresponding to the string *key* or ``NULL`` on "
58
56
"failure. This is the equivalent of the Python expression ``o[key]``. See "
59
57
"also :c:func:`PyObject_GetItem`."
60
58
msgstr ""
61
59
62
- #: ../../c-api/mapping.rst:39
60
+ #: ../../c-api/mapping.rst:38
63
61
msgid ""
64
62
"Map the string *key* to the value *v* in object *o*. Returns ``-1`` on "
65
63
"failure. This is the equivalent of the Python statement ``o[key] = v``. See"
@@ -69,7 +67,7 @@ msgstr ""
69
67
"Python の文 ``o[key] = v`` と同じです。\n"
70
68
":c:func:`PyObject_SetItem` も参照してください。"
71
69
72
- #: ../../c-api/mapping.rst:46
70
+ #: ../../c-api/mapping.rst:45
73
71
msgid ""
74
72
"Remove the mapping for the object *key* from the object *o*. Return ``-1`` "
75
73
"on failure. This is equivalent to the Python statement ``del o[key]``. This"
@@ -80,7 +78,7 @@ msgstr ""
80
78
"Python の文 ``del o[key]`` と同じです。\n"
81
79
"この関数は :c:func:`PyObject_DelItem` の別名です。"
82
80
83
- #: ../../c-api/mapping.rst:53
81
+ #: ../../c-api/mapping.rst:52
84
82
msgid ""
85
83
"Remove the mapping for the string *key* from the object *o*. Return ``-1`` "
86
84
"on failure. This is equivalent to the Python statement ``del o[key]``."
@@ -89,7 +87,7 @@ msgstr ""
89
87
"失敗すると ``-1`` を返します。\n"
90
88
"Python の文 ``del o[key]`` と同じです。"
91
89
92
- #: ../../c-api/mapping.rst:59 ../../c-api/mapping.rst:70
90
+ #: ../../c-api/mapping.rst:58 ../../c-api/mapping.rst:69
93
91
msgid ""
94
92
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
95
93
"This is equivalent to the Python expression ``key in o``. This function "
@@ -98,7 +96,7 @@ msgstr ""
98
96
"マップ型オブジェクトがキー *key* を持つ場合に ``1`` を返し、そうでないときには ``0`` を返します。これは、Python の式 "
99
97
"``key in o`` と等価です。この関数呼び出しは常に成功します。"
100
98
101
- #: ../../c-api/mapping.rst:63
99
+ #: ../../c-api/mapping.rst:62
102
100
msgid ""
103
101
"Note that exceptions which occur while calling the :meth:`__getitem__` "
104
102
"method will get suppressed. To get error reporting use "
@@ -107,7 +105,7 @@ msgstr ""
107
105
":meth:`__getitem__` メソッドの呼び出し中に起こる例外は抑制されることに注意してください。\n"
108
106
"エラーを報告させるには、代わりに :c:func:`PyObject_GetItem()` を使ってください。"
109
107
110
- #: ../../c-api/mapping.rst:74
108
+ #: ../../c-api/mapping.rst:73
111
109
msgid ""
112
110
"Note that exceptions which occur while calling the :meth:`__getitem__` "
113
111
"method and creating a temporary string object will get suppressed. To get "
@@ -116,24 +114,24 @@ msgstr ""
116
114
":meth:`__getitem__` メソッドの呼び出し中や、一時的な文字列オブジェクトの作成中に起こる例外は抑制されることに注意してください。\n"
117
115
"エラーを報告させるには、代わりに :c:func:`PyMapping_GetItemString()` を使ってください。"
118
116
119
- #: ../../c-api/mapping.rst:81
117
+ #: ../../c-api/mapping.rst:80
120
118
msgid ""
121
119
"On success, return a list of the keys in object *o*. On failure, return "
122
120
"``NULL``."
123
121
msgstr ""
124
122
125
- #: ../../c-api/mapping.rst:84 ../../c-api/mapping.rst:93
126
- #: ../../c-api/mapping.rst:102
123
+ #: ../../c-api/mapping.rst:83 ../../c-api/mapping.rst:92
124
+ #: ../../c-api/mapping.rst:101
127
125
msgid "Previously, the function returned a list or a tuple."
128
126
msgstr "以前は、関数はリストもしくはタプルを返していました。"
129
127
130
- #: ../../c-api/mapping.rst:90
128
+ #: ../../c-api/mapping.rst:89
131
129
msgid ""
132
130
"On success, return a list of the values in object *o*. On failure, return "
133
131
"``NULL``."
134
132
msgstr ""
135
133
136
- #: ../../c-api/mapping.rst:99
134
+ #: ../../c-api/mapping.rst:98
137
135
msgid ""
138
136
"On success, return a list of the items in object *o*, where each item is a "
139
137
"tuple containing a key-value pair. On failure, return ``NULL``."