33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
55#
6- #, fuzzy
76msgid ""
87msgstr ""
98"Project-Id-Version : Python 3.6\n "
109"Report-Msgid-Bugs-To : \n "
1110"POT-Creation-Date : 2018-05-26 11:10+0900\n "
1211"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13- "Last-Translator : FULL NAME <EMAIL@ADDRESS >\n "
14- "Language-Team : LANGUAGE <LL@li.org> \n "
12+ "Last-Translator : Dong-gweon Oh <flowdas@gmail.com >\n "
13+ "Language-Team : Korean (https://python.flowdas.com) \n "
1514"MIME-Version : 1.0\n "
1615"Content-Type : text/plain; charset=utf-8\n "
1716"Content-Transfer-Encoding : 8bit\n "
1817"Generated-By : Babel 2.5.1\n "
1918
2019#: ../Doc/c-api/sequence.rst:6
2120msgid "Sequence Protocol"
22- msgstr ""
21+ msgstr "시퀀스 프로토콜 "
2322
2423#: ../Doc/c-api/sequence.rst:11
2524msgid ""
@@ -29,51 +28,68 @@ msgid ""
2928" in general case it is impossible to determine what the type of keys it "
3029"supports. This function always succeeds."
3130msgstr ""
31+ "객체가 시퀀스 프로토콜을 제공하면 ``1``\\ 을 반환하고, 그렇지 않으면 ``0``\\ 을 반환합니다. "
32+ ":meth:`__getitem__` 메서드가 있는 파이썬 클래스의 경우 :class:`dict` 서브 클래스가 아닌 한 ``1``\\ 을 "
33+ "반환하는 것에 유의하십시오. 일반적으로 어떤 형의 키를 지원하는지 판단할 수 없기 때문입니다. 이 함수는 항상 성공합니다."
3234
3335#: ../Doc/c-api/sequence.rst:23
3436msgid ""
3537"Returns the number of objects in sequence *o* on success, and ``-1`` on "
3638"failure. This is equivalent to the Python expression ``len(o)``."
3739msgstr ""
40+ "성공 시 시퀀스 *o*\\ 의 객체 수를 반환하고, 실패하면 ``-1``\\ 을 반환합니다. 이것은 파이썬 표현식 ``len(o)``\\ 와 "
41+ "동등합니다."
3842
3943#: ../Doc/c-api/sequence.rst:29
4044msgid ""
4145"Return the concatenation of *o1* and *o2* on success, and *NULL* on "
4246"failure. This is the equivalent of the Python expression ``o1 + o2``."
4347msgstr ""
48+ "성공 시 *o1*\\ 와 *o2*\\ 의 이어붙이기를 반환하고, 실패하면 *NULL*\\ 을 반환합니다. 이것은 파이썬 표현식 ``o1 + "
49+ "o2``\\ 와 동등합니다."
4450
4551#: ../Doc/c-api/sequence.rst:35
4652msgid ""
4753"Return the result of repeating sequence object *o* *count* times, or "
4854"*NULL* on failure. This is the equivalent of the Python expression ``o *"
4955" count``."
5056msgstr ""
57+ "시퀸스 객체 *o*\\ 를 *count* 번 반복한 결과를 반환하거나, 실패 시 *NULL*\\ 을 반환합니다. 이것은 파이썬 표현식 ``o"
58+ " * count``\\ 와 동등합니다."
5159
5260#: ../Doc/c-api/sequence.rst:41
5361msgid ""
5462"Return the concatenation of *o1* and *o2* on success, and *NULL* on "
5563"failure. The operation is done *in-place* when *o1* supports it. This is"
5664" the equivalent of the Python expression ``o1 += o2``."
5765msgstr ""
66+ "성공 시 *o1*\\ 와 *o2*\\ 의 이어붙이기를 반환하고, 실패하면 *NULL*\\ 을 반환합니다. 이 연산은 *o1*\\ 가 지원하면 "
67+ "*제자리에서(in-place)* 수행됩니다. 이것은 파이썬 표현식 ``o1 += o2``\\ 와 동등합니다."
5868
5969#: ../Doc/c-api/sequence.rst:48
6070msgid ""
6171"Return the result of repeating sequence object *o* *count* times, or "
6272"*NULL* on failure. The operation is done *in-place* when *o* supports "
6373"it. This is the equivalent of the Python expression ``o *= count``."
6474msgstr ""
75+ "시퀸스 객체 *o*\\ 를 *count* 번 반복한 결과를 반환하거나, 실패 시 *NULL*\\ 을 반환합니다. 이 연산은 *o*\\ 가 "
76+ "지원하면 *제자리에서(in-place)* 수행됩니다. 이것은 파이썬 표현식 ``o *= count``\\ 와 동등합니다."
6577
6678#: ../Doc/c-api/sequence.rst:55
6779msgid ""
6880"Return the *i*\\ th element of *o*, or *NULL* on failure. This is the "
6981"equivalent of the Python expression ``o[i]``."
7082msgstr ""
83+ "*o*\\ 의 *i* 번째 요소를 반환하거나, 실패하면 *NULL*\\ 을 반환합니다. 이것은 파이썬 표현식 ``o[i]``\\ 와 "
84+ "동등합니다."
7185
7286#: ../Doc/c-api/sequence.rst:61
7387msgid ""
7488"Return the slice of sequence object *o* between *i1* and *i2*, or *NULL* "
7589"on failure. This is the equivalent of the Python expression ``o[i1:i2]``."
7690msgstr ""
91+ "시퀀스 객체 *o*\\ 의 *i1*\\ 와 *i2* 사이의 슬라이스를 반환하거나, 실패하면 *NULL*\\ 을 반환합니다. 이것은 파이썬 "
92+ "표현식 ``o[i1:i2]``\\ 와 동등합니다."
7793
7894#: ../Doc/c-api/sequence.rst:67
7995msgid ""
@@ -82,60 +98,80 @@ msgid ""
8298"equivalent of the Python statement ``o[i] = v``. This function *does "
8399"not* steal a reference to *v*."
84100msgstr ""
101+ "객체 *v*\\ 를 *o*\\ 의 *i* 번째 요소에 대입합니다. 실패하면 예외를 발생시키고 ``-1``\\ 을 반환합니다; 성공하면 "
102+ "``0``\\ 을 반환합니다. 이것은 파이썬 문장 ``o[i] = v``\\ 와 동등합니다. 이 함수는 *v*\\ 에 대한 참조를 훔치지 "
103+ "*않습니다*."
85104
86105#: ../Doc/c-api/sequence.rst:72
87106msgid ""
88107"If *v* is *NULL*, the element is deleted, however this feature is "
89108"deprecated in favour of using :c:func:`PySequence_DelItem`."
90109msgstr ""
110+ "*v*\\ 가 *NULL*\\ 이면, 요소가 삭제되지만, 이 기능은 :c:func:`PySequence_DelItem` 사용을 위해 "
111+ "폐지되었습니다."
91112
92113#: ../Doc/c-api/sequence.rst:78
93114msgid ""
94115"Delete the *i*\\ th element of object *o*. Returns ``-1`` on failure. "
95116"This is the equivalent of the Python statement ``del o[i]``."
96117msgstr ""
118+ "*o* 객체의 *i* 번째 요소를 삭제합니다. 실패하면 ``-1``\\ 을 반환합니다. 이것은 파이썬 문장 ``del o[i]``\\ 와 "
119+ "동등합니다."
97120
98121#: ../Doc/c-api/sequence.rst:84
99122msgid ""
100123"Assign the sequence object *v* to the slice in sequence object *o* from "
101124"*i1* to *i2*. This is the equivalent of the Python statement ``o[i1:i2] "
102125"= v``."
103126msgstr ""
127+ "시퀀스 객체 *v*\\ 를 시퀀스 객체 *o*\\ 의 *i1*\\ 에서 *i2* 사이의 슬라이스에 대입합니다. 이것은 파이썬 문장 "
128+ "``o[i1:i2] = v``\\ 와 동등합니다."
104129
105130#: ../Doc/c-api/sequence.rst:90
106131msgid ""
107132"Delete the slice in sequence object *o* from *i1* to *i2*. Returns "
108133"``-1`` on failure. This is the equivalent of the Python statement ``del "
109134"o[i1:i2]``."
110135msgstr ""
136+ "시퀀스 객체 *o*\\ 의 *i1*\\ 에서 *i2* 사이의 슬라이스를 삭제합니다. 실패하면 ``-1``\\ 을 반환합니다. 이것은 파이썬 "
137+ "문장 ``del o[i1:i2]``\\ 와 동등합니다."
111138
112139#: ../Doc/c-api/sequence.rst:96
113140msgid ""
114141"Return the number of occurrences of *value* in *o*, that is, return the "
115142"number of keys for which ``o[key] == value``. On failure, return ``-1``."
116143" This is equivalent to the Python expression ``o.count(value)``."
117144msgstr ""
145+ "*o*\\ 에 있는 *value*\\ 의 수를 반환합니다. 즉, ``o[key] == value``\\ 를 만족하는 key의 수를 반환합니다."
146+ " 실패하면 ``-1``\\ 을 반환합니다. 이것은 파이썬 표현식 ``o.count(value)``\\ 와 동등합니다."
118147
119148#: ../Doc/c-api/sequence.rst:103
120149msgid ""
121150"Determine if *o* contains *value*. If an item in *o* is equal to "
122151"*value*, return ``1``, otherwise return ``0``. On error, return ``-1``. "
123152"This is equivalent to the Python expression ``value in o``."
124153msgstr ""
154+ "*o*\\ 에 *value*\\ 가 있는지 확인합니다. *o*\\ 의 항목 중 하나가 *value*\\ 와 같으면 ``1``\\ 을 반환하고, "
155+ "그렇지 않으면 ``0``\\ 을 반환합니다. 에러 시 ``-1``\\ 을 반환합니다. 이는 파이썬 표현식 ``value in o``\\ 와 "
156+ "동등합니다."
125157
126158#: ../Doc/c-api/sequence.rst:110
127159msgid ""
128160"Return the first index *i* for which ``o[i] == value``. On error, return"
129161" ``-1``. This is equivalent to the Python expression "
130162"``o.index(value)``."
131163msgstr ""
164+ "``o[i] == value``\\ 을 만족하는 첫 번째 인덱스 *i*\\ 를 반환합니다. 에러 시 ``-1``\\ 을 반환합니다. 이것은 "
165+ "파이썬 표현식 ``o.index(value)``\\ 와 동등합니다."
132166
133167#: ../Doc/c-api/sequence.rst:116
134168msgid ""
135169"Return a list object with the same contents as the sequence or iterable "
136170"*o*, or *NULL* on failure. The returned list is guaranteed to be new. "
137171"This is equivalent to the Python expression ``list(o)``."
138172msgstr ""
173+ "시퀀스나 이터러블 *o*\\ 와 같은 내용을 가진 리스트 객체를 반환하거나, 실패하면 *NULL*\\ 을 반환합니다. 반환된 리스트는 새로운"
174+ " 것으로 보장됩니다. 이것은 파이썬 표현식 ``list(o)``\\ 와 동등합니다."
139175
140176#: ../Doc/c-api/sequence.rst:125
141177msgid ""
@@ -144,6 +180,9 @@ msgid ""
144180"returned, otherwise a tuple will be constructed with the appropriate "
145181"contents. This is equivalent to the Python expression ``tuple(o)``."
146182msgstr ""
183+ "시퀀스나 이터러블 *o*\\ 와 같은 내용을 가진 튜플 객체를 반환하거나, 실패하면 *NULL*\\ 을 반환합니다. *o*\\ 가 튜플이면, "
184+ "새로운 참조가 반환되고, 그렇지 않으면 튜플이 적절한 내용으로 만들어집니다. 이것은 파이썬 표현식 ``tuple(o)``\\ 와 "
185+ "동등합니다."
147186
148187#: ../Doc/c-api/sequence.rst:133
149188msgid ""
@@ -153,6 +192,9 @@ msgid ""
153192"Returns *NULL* on failure. If the object is not a sequence or iterable, "
154193"raises :exc:`TypeError` with *m* as the message text."
155194msgstr ""
195+ "시퀀스나 이터러블 *o*\\ 를 리스트로 반환합니다. 이미 튜플이나 리스트라면 *o*\\ 가 반환됩니다. 결과의 구성원에 액세스하려면 "
196+ ":c:func:`PySequence_Fast_GET_ITEM`\\ 를 사용하십시오. 실패하면 *NULL*\\ 을 반환합니다. 객체가 시퀀스나"
197+ " 이터러블이 아니면, *m*\\ 을 메시지 텍스트로 :exc:`TypeError`\\ 를 발생시킵니다."
156198
157199#: ../Doc/c-api/sequence.rst:141
158200msgid ""
@@ -162,26 +204,36 @@ msgid ""
162204":c:func:`PySequence_Fast_GET_SIZE` is faster because it can assume *o* is"
163205" a list or tuple."
164206msgstr ""
207+ "*o*\\ 의 길이를 반환하는데, *o*\\ 가 :c:func:`PySequence_Fast`\\ 에 의해 반환되었고, *o*\\ 가 "
208+ "*NULL*\\ 이 아니라고 가정합니다. 크기는 *o*\\ 에 대해 :c:func:`PySequence_Size`\\ 를 호출하여 얻을 수도 "
209+ "있지만, :c:func:`PySequence_Fast_GET_SIZE`\\ 는 *o*\\ 가 리스트나 튜플이라고 가정할 수 있으므로 더 "
210+ "빠릅니다."
165211
166212#: ../Doc/c-api/sequence.rst:150
167213msgid ""
168214"Return the *i*\\ th element of *o*, assuming that *o* was returned by "
169215":c:func:`PySequence_Fast`, *o* is not *NULL*, and that *i* is within "
170216"bounds."
171217msgstr ""
218+ "*o*\\ 의 *i* 번째 요소를 반환하는데, *o*\\ 가 :c:func:`PySequence_Fast`\\ 에 의해 반환되었고, "
219+ "*o*\\ 가 *NULL*\\ 이 아니며, *i*\\ 가 경계 내에 있다고 가정합니다."
172220
173221#: ../Doc/c-api/sequence.rst:156
174222msgid ""
175223"Return the underlying array of PyObject pointers. Assumes that *o* was "
176224"returned by :c:func:`PySequence_Fast` and *o* is not *NULL*."
177225msgstr ""
226+ "PyObject 포인터의 하부 배열을 반환합니다. *o*\\ 가 :c:func:`PySequence_Fast`\\ 에 의해 반환되었고, "
227+ "*o*\\ 가 *NULL*\\ 이 아니라고 가정합니다."
178228
179229#: ../Doc/c-api/sequence.rst:159
180230msgid ""
181231"Note, if a list gets resized, the reallocation may relocate the items "
182232"array. So, only use the underlying array pointer in contexts where the "
183233"sequence cannot change."
184234msgstr ""
235+ "리스트의 크기가 변경되면, 재할당이 항목 배열을 재배치할 수 있음에 유의하십시오. 따라서, 시퀀스가 변경될 수 없는 문맥에서만 하부 배열"
236+ " 포인터를 사용하십시오."
185237
186238#: ../Doc/c-api/sequence.rst:166
187239msgid ""
@@ -190,42 +242,6 @@ msgid ""
190242":c:func:`PySequence_Check` on *o* is true and without adjustment for "
191243"negative indices."
192244msgstr ""
193-
194- #~ msgid ""
195- #~ "Return ``1`` if the object provides "
196- #~ "sequence protocol, and ``0`` otherwise. "
197- #~ "This function always succeeds."
198- #~ msgstr ""
199-
200- #~ msgid ""
201- #~ "Returns the number of objects in "
202- #~ "sequence *o* on success, and ``-1`` "
203- #~ "on failure. For objects that do "
204- #~ "not provide sequence protocol, this is"
205- #~ " equivalent to the Python expression "
206- #~ "``len(o)``."
207- #~ msgstr ""
208-
209- #~ msgid ""
210- #~ "Return a tuple object with the "
211- #~ "same contents as the arbitrary sequence"
212- #~ " *o* or *NULL* on failure. If "
213- #~ "*o* is a tuple, a new reference"
214- #~ " will be returned, otherwise a tuple"
215- #~ " will be constructed with the "
216- #~ "appropriate contents. This is equivalent "
217- #~ "to the Python expression ``tuple(o)``."
218- #~ msgstr ""
219-
220- #~ msgid ""
221- #~ "Return the sequence *o* as a list,"
222- #~ " unless it is already a tuple "
223- #~ "or list, in which case *o* is "
224- #~ "returned. Use :c:func:`PySequence_Fast_GET_ITEM` to"
225- #~ " access the members of the result."
226- #~ " Returns *NULL* on failure. If the"
227- #~ " object is not a sequence, raises "
228- #~ ":exc:`TypeError` with *m* as the message"
229- #~ " text."
230- #~ msgstr ""
231-
245+ "*o*\\ 의 *i* 번째 요소를 반환하거나, 실패하면 *NULL*\\ 을 반환합니다. "
246+ ":c:func:`PySequence_GetItem`\\ 의 매크로 형식이지만, *o*\\ 에 대해 "
247+ ":c:func:`PySequence_Check`\\ 가 참인지 검사하지 않고, 음수 인덱스를 조정하지 않습니다."
0 commit comments