Skip to content

Commit b91ff24

Browse files
committed
#1067 - remove fuzzy flags
1 parent 5a20b19 commit b91ff24

File tree

1 file changed

+31
-8
lines changed

1 file changed

+31
-8
lines changed

β€Žc-api/iter.poβ€Ž

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,32 +25,33 @@ msgid "There are two functions specifically for working with iterators."
2525
msgstr "특히 μ΄ν„°λ ˆμ΄ν„°λ₯Ό μ‚¬μš©ν•˜κΈ° μœ„ν•œ 두 ν•¨μˆ˜κ°€ μžˆμŠ΅λ‹ˆλ‹€."
2626

2727
#: ../../c-api/iter.rst:12
28-
#, fuzzy
2928
msgid ""
3029
"Return non-zero if the object *o* can be safely passed to "
3130
":c:func:`PyIter_Next`, and ``0`` otherwise. This function always "
3231
"succeeds."
33-
msgstr "객체 *o*\\κ°€ μ΄ν„°λ ˆμ΄ν„° ν”„λ‘œν† μ½œμ„ μ§€μ›ν•˜λ©΄ 참을 λŒλ €μ€λ‹ˆλ‹€. 이 ν•¨μˆ˜λŠ” 항상 μ„±κ³΅ν•©λ‹ˆλ‹€."
32+
msgstr ""
33+
"객체 *o*\\κ°€ :c:func:`PyIter_Next`\\에 μ•ˆμ „ν•˜κ²Œ 전달될 수 있으면 ``0``\\이 μ•„λ‹Œ 값을, κ·Έλ ‡μ§€ μ•ŠμœΌλ©΄"
34+
" ``0``\\을 λŒλ €μ€λ‹ˆλ‹€. 이 ν•¨μˆ˜λŠ” 항상 μ„±κ³΅ν•©λ‹ˆλ‹€."
3435

3536
#: ../../c-api/iter.rst:17
36-
#, fuzzy
3737
msgid ""
3838
"Return non-zero if the object *o* provides the :class:`AsyncIterator` "
3939
"protocol, and ``0`` otherwise. This function always succeeds."
40-
msgstr "객체 *o*\\κ°€ μ΄ν„°λ ˆμ΄ν„° ν”„λ‘œν† μ½œμ„ μ§€μ›ν•˜λ©΄ 참을 λŒλ €μ€λ‹ˆλ‹€. 이 ν•¨μˆ˜λŠ” 항상 μ„±κ³΅ν•©λ‹ˆλ‹€."
40+
msgstr ""
41+
"객체 *o*\\κ°€ :class:`AsyncIterator` ν”„λ‘œν† μ½œμ„ μ§€μ›ν•˜λ©΄ ``0``\\이 μ•„λ‹Œ 값을, κ·Έλ ‡μ§€ μ•ŠμœΌλ©΄ "
42+
"``0``\\을 λŒλ €μ€λ‹ˆλ‹€. 이 ν•¨μˆ˜λŠ” 항상 μ„±κ³΅ν•©λ‹ˆλ‹€."
4143

4244
#: ../../c-api/iter.rst:24
43-
#, fuzzy
4445
msgid ""
4546
"Return the next value from the iterator *o*. The object must be an "
4647
"iterator according to :c:func:`PyIter_Check` (it is up to the caller to "
4748
"check this). If there are no remaining values, returns ``NULL`` with no "
4849
"exception set. If an error occurs while retrieving the item, returns "
4950
"``NULL`` and passes along the exception."
5051
msgstr ""
51-
"μ΄ν„°λ ˆμ΄μ…˜ *o*\\μ—μ„œ λ‹€μŒ 값을 λ°˜ν™˜ν•©λ‹ˆλ‹€. κ°μ²΄λŠ” μ΄ν„°λ ˆμ΄ν„° μ—¬μ•Ό ν•©λ‹ˆλ‹€ (이것을 ν™•μΈν•˜λŠ” 것은 호좜자 μ±…μž„μž…λ‹ˆλ‹€). 남은 "
52-
"값이 μ—†μœΌλ©΄, μ˜ˆμ™Έκ°€ μ„€μ •λ˜μ§€ μ•Šμ€ μƒνƒœλ‘œ ``NULL``\\을 λ°˜ν™˜ν•©λ‹ˆλ‹€. ν•­λͺ©μ„ κΊΌλ‚΄λŠ” λ™μ•ˆ μ—λŸ¬κ°€ λ°œμƒν•˜λ©΄, "
53-
"``NULL``\\을 λ°˜ν™˜ν•˜κ³  μ˜ˆμ™Έλ₯Ό μ „λ‹¬ν•©λ‹ˆλ‹€."
52+
"μ΄ν„°λ ˆμ΄ν„° *o*\\μ—μ„œ λ‹€μŒ 값을 λ°˜ν™˜ν•©λ‹ˆλ‹€. κ°μ²΄λŠ” :c:func:`PyIter_Check`\\에 λ”°λ₯΄λŠ” μ΄ν„°λ ˆμ΄ν„° μ—¬μ•Ό "
53+
"ν•©λ‹ˆλ‹€ (이것을 ν™•μΈν•˜λŠ” 것은 호좜자 μ±…μž„μž…λ‹ˆλ‹€). 남은 값이 μ—†μœΌλ©΄, μ˜ˆμ™Έκ°€ μ„€μ •λ˜μ§€ μ•Šμ€ μƒνƒœλ‘œ ``NULL``\\을 "
54+
"λ°˜ν™˜ν•©λ‹ˆλ‹€. ν•­λͺ©μ„ κΊΌλ‚΄λŠ” λ™μ•ˆ μ—λŸ¬κ°€ λ°œμƒν•˜λ©΄, ``NULL``\\을 λ°˜ν™˜ν•˜κ³  μ˜ˆμ™Έλ₯Ό μ „λ‹¬ν•©λ‹ˆλ‹€."
5455

5556
#: ../../c-api/iter.rst:30
5657
msgid ""
@@ -84,6 +85,28 @@ msgid ""
8485
" /* continue doing useful work */\n"
8586
"}"
8687
msgstr ""
88+
"PyObject *iterator = PyObject_GetIter(obj);\n"
89+
"PyObject *item;\n"
90+
"\n"
91+
"if (iterator == NULL) {\n"
92+
" /* μ—λŸ¬λ₯Ό μ „νŒŒν•©λ‹ˆλ‹€ */\n"
93+
"}\n"
94+
"\n"
95+
"while ((item = PyIter_Next(iterator))) {\n"
96+
" /* item으둜 λ­”κ°€ ν•©λ‹ˆλ‹€ */\n"
97+
" ...\n"
98+
" /* λλ‚˜λ©΄ μ°Έμ‘°λ₯Ό λ°˜ν™˜ν•©λ‹ˆλ‹€ */\n"
99+
" Py_DECREF(item);\n"
100+
"}\n"
101+
"\n"
102+
"Py_DECREF(iterator);\n"
103+
"\n"
104+
"if (PyErr_Occurred()) {\n"
105+
" /* μ—λŸ¬λ₯Ό μ „νŒŒν•©λ‹ˆλ‹€ */\n"
106+
"}\n"
107+
"else {\n"
108+
" /* μ“Έλͺ¨μžˆλŠ” 일을 κ³„μ†ν•©λ‹ˆλ‹€ */\n"
109+
"}"
87110

88111
#: ../../c-api/iter.rst:59
89112
msgid ""

0 commit comments

Comments
Β (0)