@@ -21,11 +21,10 @@ msgid "Reference Counting"
2121msgstr "참조 횟수"
2222
2323#: ../../c-api/refcounting.rst:10
24- #, fuzzy
2524msgid ""
2625"The functions and macros in this section are used for managing reference "
2726"counts of Python objects."
28- msgstr "이 섹션의 매크로는 파이썬 객체의 참조 횟수를 관리하는 데 사용됩니다."
27+ msgstr "이 섹션의 함수와 매크로는 파이썬 객체의 참조 횟수를 관리하는 데 사용됩니다."
2928
3029#: ../../c-api/refcounting.rst:16
3130msgid "Get the reference count of the Python object *o*."
@@ -93,13 +92,12 @@ msgid "When done using the object, release is by calling :c:func:`Py_DECREF`."
9392msgstr ""
9493
9594#: ../../c-api/refcounting.rst:61
96- #, fuzzy
9795msgid ""
9896"The object must not be ``NULL``; if you aren't sure that it isn't "
9997"``NULL``, use :c:func:`Py_XINCREF`."
10098msgstr ""
101- "객체 *o* \\ 에 대한 참조 횟수를 늘립니다. 객체는 ``NULL`` 일 수 없습니다; ``NULL``\\ 이 아닌지 확실하지 "
102- "않으면, :c:func:`Py_XINCREF` \\ 를 사용하십시오."
99+ "객체는 ``NULL`` 일 수 없습니다; ``NULL``\\ 이 아닌지 확실하지 않으면, :c:func:`Py_XINCREF` \\ 를 "
100+ "사용하십시오."
103101
104102#: ../../c-api/refcounting.rst:64
105103msgid ""
@@ -137,21 +135,23 @@ msgstr ""
137135
138136#: ../../c-api/refcounting.rst:91
139137msgid "For example::"
140- msgstr ""
138+ msgstr "예를 들어:: "
141139
142140#: ../../c-api/refcounting.rst:93
143141msgid ""
144142"Py_INCREF(obj);\n"
145143"self->attr = obj;"
146144msgstr ""
145+ "Py_INCREF(obj);\n"
146+ "self->attr = obj;"
147147
148148#: ../../c-api/refcounting.rst:96
149149msgid "can be written as::"
150150msgstr ""
151151
152152#: ../../c-api/refcounting.rst:98
153153msgid "self->attr = Py_NewRef(obj);"
154- msgstr ""
154+ msgstr "self->attr = Py_NewRef(obj); "
155155
156156#: ../../c-api/refcounting.rst:100
157157msgid "See also :c:func:`Py_INCREF`."
@@ -172,15 +172,13 @@ msgid ""
172172msgstr ""
173173
174174#: ../../c-api/refcounting.rst:121
175- #, fuzzy
176175msgid ""
177176"Once the last :term:`strong reference` is released (i.e. the object's "
178177"reference count reaches 0), the object's type's deallocation function "
179178"(which must not be ``NULL``) is invoked."
180179msgstr ""
181- "객체 *o*\\ 에 대한 참조 횟수를 감소시킵니다. 객체는 ``NULL`` 일 수 없습니다; ``NULL``\\ 이 아닌지 확실하지 "
182- "않으면, :c:func:`Py_XDECREF`\\ 를 사용하십시오. 참조 횟수가 0이 되면, 객체 형의 할당 해제 함수 (반드시 "
183- "``NULL``\\ 이 아니어야 합니다)가 호출됩니다."
180+ "마지막 :term:`강한 참조 <strong reference>`\\ 가 해제되면 (즉 객체의 참조 횟수가 0이 되면), 객체 형의 "
181+ "할당 해제 함수 (반드시 ``NULL``\\ 이 아니어야 합니다)가 호출됩니다."
184182
185183#: ../../c-api/refcounting.rst:126
186184msgid ""
@@ -189,13 +187,12 @@ msgid ""
189187msgstr ""
190188
191189#: ../../c-api/refcounting.rst:129
192- #, fuzzy
193190msgid ""
194191"The object must not be ``NULL``; if you aren't sure that it isn't "
195192"``NULL``, use :c:func:`Py_XDECREF`."
196193msgstr ""
197- "객체 *o* \\ 에 대한 참조 횟수를 늘립니다. 객체는 ``NULL`` 일 수 없습니다; ``NULL``\\ 이 아닌지 확실하지 "
198- "않으면, :c:func:`Py_XINCREF` \\ 를 사용하십시오."
194+ "객체는 ``NULL`` 일 수 없습니다; ``NULL``\\ 이 아닌지 확실하지 않으면, :c:func:`Py_XDECREF` \\ 를 "
195+ "사용하십시오."
199196
200197#: ../../c-api/refcounting.rst:132
201198msgid ""
@@ -204,7 +201,6 @@ msgid ""
204201msgstr ""
205202
206203#: ../../c-api/refcounting.rst:138
207- #, fuzzy
208204msgid ""
209205"The deallocation function can cause arbitrary Python code to be invoked "
210206"(e.g. when a class instance with a :meth:`~object.__del__` method is "
@@ -216,11 +212,11 @@ msgid ""
216212"deleted object in a temporary variable, update the list data structure, "
217213"and then call :c:func:`Py_DECREF` for the temporary variable."
218214msgstr ""
219- "할당 해제 함수는 임의의 파이썬 코드가 호출되도록 할 수 있습니다 (예를 들어, :meth:`__del__` 메서드가 있는 클래스 "
220- "인스턴스가 할당 해제될 때). 이러한 코드에서의 예외는 전파되지 않지만, 실행된 코드는 모든 파이썬 전역 변수에 자유롭게 액세스할 "
221- "수 있습니다. 이것은 :c:func:`Py_DECREF`\\ 가 호출되기 전에 전역 변수에서 도달할 수 있는 모든 객체가 일관성 있는 "
222- " 상태에 있어야 함을 뜻합니다. 예를 들어, 리스트에서 객체를 삭제하는 코드는 삭제된 객체에 대한 참조를 임시 변수에 복사하고, "
223- "리스트 데이터 구조를 갱신한 다음, 임시 변수에 대해 :c:func:`Py_DECREF`\\ 를 호출해야 합니다."
215+ "할당 해제 함수는 임의의 파이썬 코드가 호출되도록 할 수 있습니다 (예를 들어, :meth:`~object. __del__` 메서드가"
216+ " 있는 클래스 인스턴스가 할당 해제될 때). 이러한 코드에서의 예외는 전파되지 않지만, 실행된 코드는 모든 파이썬 전역 변수에 "
217+ "자유롭게 액세스할 수 있습니다. 이것은 :c:func:`Py_DECREF`\\ 가 호출되기 전에 전역 변수에서 도달할 수 있는 모든 "
218+ "객체가 일관성 있는 상태에 있어야 함을 뜻합니다. 예를 들어, 리스트에서 객체를 삭제하는 코드는 삭제된 객체에 대한 참조를 임시 "
219+ "변수에 복사하고, 리스트 데이터 구조를 갱신한 다음, 임시 변수에 대해 :c:func:`Py_DECREF`\\ 를 호출해야 합니다."
224220
225221#: ../../c-api/refcounting.rst:153
226222msgid ""
@@ -230,7 +226,6 @@ msgid ""
230226msgstr ""
231227
232228#: ../../c-api/refcounting.rst:160
233- #, fuzzy
234229msgid ""
235230"Release a :term:`strong reference` for object *o*. The object may be "
236231"``NULL``, in which case the macro has no effect; otherwise the effect is "
@@ -240,17 +235,17 @@ msgid ""
240235" variable and sets the argument to ``NULL`` before releasing the "
241236"reference."
242237msgstr ""
243- "객체 *o*\\ 에 대한 참조 횟수를 감소시킵니다. 객체는 ``NULL`` 일 수 있습니다, 이때 매크로는 효과가 없습니다; 그렇지 "
244- "않으면 인자도 ``NULL``\\ 로 설정된다는 점을 제외하고는, 효과가 :c:func:`Py_DECREF`\\ 와 같습니다. 매크로가"
245- " 임시 변수를 신중하게 사용하고, 참조 횟수를 줄이기 전에 인자를 ``NULL``\\ 로 설정하기 때문에, "
246- ":c:func:`Py_DECREF`\\ 에 대한 경고는 전달된 객체와 관련하여 적용되지 않습니다."
238+ "객체 *o*\\ 에 대한 :term:`강한 참조 <strong reference>`\\ 를 해제합니다. 객체는 ``NULL`` 일 수 "
239+ "있습니다, 이때 매크로는 효과가 없습니다; 그렇지 않으면 인자도 ``NULL``\\ 로 설정된다는 점을 제외하고는, 효과가 "
240+ ":c:func:`Py_DECREF`\\ 와 같습니다. 매크로가 임시 변수를 신중하게 사용하고, 참조를 해제하기 전에 인자를 "
241+ "``NULL``\\ 로 설정하기 때문에, :c:func:`Py_DECREF`\\ 에 대한 경고는 전달된 객체와 관련하여 적용되지 "
242+ "않습니다."
247243
248244#: ../../c-api/refcounting.rst:168
249- #, fuzzy
250245msgid ""
251246"It is a good idea to use this macro whenever releasing a reference to an "
252247"object that might be traversed during garbage collection."
253- msgstr "가비지 수집 중에 탐색 될 수 있는 객체의 참조 횟수를 감소시킬 때마다 이 매크로를 사용하는 것이 좋습니다."
248+ msgstr "가비지 수집 중에 탐색 될 수 있는 객체에 대한 참조를 해제할 때마다 이 매크로를 사용하는 것이 좋습니다."
254249
255250#: ../../c-api/refcounting.rst:171
256251msgid ""
@@ -287,14 +282,16 @@ msgid ""
287282"Py_DECREF(dst);\n"
288283"dst = src;"
289284msgstr ""
285+ "Py_DECREF(dst);\n"
286+ "dst = src;"
290287
291288#: ../../c-api/refcounting.rst:200
292289msgid "The safe way is::"
293290msgstr ""
294291
295292#: ../../c-api/refcounting.rst:202
296293msgid "Py_SETREF(dst, src);"
297- msgstr ""
294+ msgstr "Py_SETREF(dst, src); "
298295
299296#: ../../c-api/refcounting.rst:204
300297msgid ""
0 commit comments