@@ -21,14 +21,13 @@ msgid "Allocating Objects on the Heap"
2121msgstr "힙에 객체 할당하기"
2222
2323#: ../../c-api/allocation.rst:17
24- #, fuzzy
2524msgid ""
2625"Initialize a newly allocated object *op* with its type and initial "
2726"reference. Returns the initialized object. Other fields of the object "
2827"are not affected."
2928msgstr ""
30- "새로 할당된 객체 *op*\\ 를 형과 초기 참조로 초기화합니다. 초기화된 객체를 반환합니다. *type* \\ 이 객체가 순환 가비지 "
31- "감지기에 참여함을 나타내면, 감지기의 감시되는 객체 집합에 추가됩니다. 객체의 다른 필드는 영향을 받지 않습니다."
29+ "새로 할당된 객체 *op*\\ 를 형과 초기 참조로 초기화합니다. 초기화된 객체를 반환합니다. 객체의 다른 필드는 영향을 받지 "
30+ "않습니다."
3231
3332#: ../../c-api/allocation.rst:24
3433msgid ""
@@ -37,7 +36,6 @@ msgid ""
3736msgstr "이것은 :c:func:`PyObject_Init`\\ 가 수행하는 모든 작업을 수행하고, 가변 크기 객체의 길이 정보도 초기화합니다."
3837
3938#: ../../c-api/allocation.rst:30
40- #, fuzzy
4139msgid ""
4240"Allocate a new Python object using the C structure type *TYPE* and the "
4341"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by "
@@ -46,8 +44,9 @@ msgid ""
4644"size of the memory allocation is determined from the "
4745":c:member:`~PyTypeObject.tp_basicsize` field of the type object."
4846msgstr ""
49- "C 구조체 형 *TYPE*\\ 과 파이썬 형 객체 *type*\\ 을 사용하여 새로운 파이썬 객체를 할당합니다. 파이썬 객체 헤더로 "
50- "정의되지 않은 필드는 초기화되지 않습니다; 객체의 참조 횟수는 1이 됩니다. 메모리 할당의 크기는 형 객체의 "
47+ "C 구조체 형 *TYPE*\\ 과 파이썬 형 객체 *typeobj* (``PyTypeObject*``) 를 사용하여 새로운 파이썬 "
48+ "객체를 할당합니다. 파이썬 객체 헤더로 정의되지 않은 필드는 초기화되지 않습니다. 호출자는 객체에 대한 유일한 참조를 소유하게 "
49+ "됩니다 (즉, 객체의 참조 횟수는 1이 됩니다). 메모리 할당의 크기는 형 객체의 "
5150":c:member:`~PyTypeObject.tp_basicsize` 필드에서 결정됩니다."
5251
5352#: ../../c-api/allocation.rst:38
@@ -58,7 +57,6 @@ msgid ""
5857msgstr ""
5958
6059#: ../../c-api/allocation.rst:45
61- #, fuzzy
6260msgid ""
6361"Allocate a new Python object using the C structure type *TYPE* and the "
6462"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by "
@@ -70,11 +68,11 @@ msgid ""
7068"array of fields into the same allocation decreases the number of "
7169"allocations, improving the memory management efficiency."
7270msgstr ""
73- "C 구조체 형 *TYPE*\\ 과 파이썬 타입 형 *type* \\ 을 사용하여 새로운 파이썬 객체를 할당합니다. 파이썬 객체 헤더로 "
74- "정의되지 않은 필드는 초기화되지 않습니다. 할당된 메모리는 *TYPE* 구조체에 더해 *type* \\ 의 "
75- ":c:member:`~PyTypeObject.tp_itemsize` 필드에 의해 주어진 크기의 *size* 필드를 허용합니다. 이는 "
76- " 튜플과 같은 객체를 구현할 때 유용합니다. 튜플은 만들 때 크기를 결정할 수 있습니다. 같은 할당에 필드 배열을 포함 시키면, "
77- "할당 횟수가 줄어들어, 메모리 관리 효율성이 향상됩니다."
71+ "C 구조체 형 *TYPE*\\ 과 파이썬 타입 형 *typeobj* (``PyTypeObject*``) 를 사용하여 새로운 파이썬 "
72+ "객체를 할당합니다. 파이썬 객체 헤더로 정의되지 않은 필드는 초기화되지 않습니다. 할당된 메모리는 *TYPE* 구조체에 더해 "
73+ "*typeobj* \\ 의 :c:member:`~PyTypeObject.tp_itemsize` 필드에 의해 주어진 크기의 *size* "
74+ "(``Py_ssize_t``) 필드를 허용합니다. 이는 튜플과 같은 객체를 구현할 때 유용합니다. 튜플은 만들 때 크기를 결정할 수"
75+ " 있습니다. 같은 할당에 필드 배열을 포함 시키면, 할당 횟수가 줄어들어, 메모리 관리 효율성이 향상됩니다."
7876
7977#: ../../c-api/allocation.rst:56
8078msgid ""
@@ -84,15 +82,14 @@ msgid ""
8482msgstr ""
8583
8684#: ../../c-api/allocation.rst:63
87- #, fuzzy
8885msgid ""
8986"Releases memory allocated to an object using :c:macro:`PyObject_New` or "
9087":c:macro:`PyObject_NewVar`. This is normally called from the "
9188":c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's "
9289"type. The fields of the object should not be accessed after this call as"
9390" the memory is no longer a valid Python object."
9491msgstr ""
95- ":c:func :`PyObject_New` 나 :c:func :`PyObject_NewVar`\\ 를 사용한 객체에 할당된 메모리를 "
92+ ":c:macro :`PyObject_New` 나 :c:macro :`PyObject_NewVar`\\ 를 사용한 객체에 할당된 메모리를 "
9693"해제합니다. 이것은 일반적으로 객체의 형에 지정된 :c:member:`~PyTypeObject.tp_dealloc` 처리기에서 "
9794"호출됩니다. 메모리가 더는 유효한 파이썬 객체가 아니므로, 이 호출 후에는 객체의 필드에 액세스해서는 안 됩니다."
9895
0 commit comments