@@ -29,22 +29,20 @@ msgstr ""
2929"``.pyd``)."
3030
3131#: ../../extending/building.rst:12
32- #, fuzzy
3332msgid ""
3433"To be importable, the shared library must be available on "
3534":envvar:`PYTHONPATH`, and must be named after the module name, with an "
3635"appropriate extension. When using setuptools, the correct filename is "
3736"generated automatically."
3837msgstr ""
3938"임포트 할 수 있으려면, 공유 라이브러리가 :envvar:`PYTHONPATH`\\ 에 있어야 하며, 모듈 이름을 따라 적절한 "
40- "확장자를 붙여서 이름 지어야 합니다. distutils를 사용하면, 올바른 파일 이름이 자동으로 생성됩니다."
39+ "확장자를 붙여서 이름 지어야 합니다. setuptools를 사용하면, 올바른 파일 이름이 자동으로 생성됩니다."
4140
4241#: ../../extending/building.rst:16
4342msgid "The initialization function has the signature:"
4443msgstr "초기화 함수는 다음과 같은 서명을 갖습니다:"
4544
4645#: ../../extending/building.rst:20
47- #, fuzzy
4846msgid ""
4947"It returns either a fully initialized module, or a :c:type:`PyModuleDef` "
5048"instance. See :ref:`initializing-modules` for details."
@@ -76,6 +74,12 @@ msgid ""
7674" suffix = b'U_' + name.encode('punycode').replace(b'-', b'_')\n"
7775" return b'PyInit' + suffix"
7876msgstr ""
77+ "def initfunc_name(name):\n"
78+ " try:\n"
79+ " suffix = b'_' + name.encode('ascii')\n"
80+ " except UnicodeEncodeError:\n"
81+ " suffix = b'U_' + name.encode('punycode').replace(b'-', b'_')\n"
82+ " return b'PyInit' + suffix"
7983
8084#: ../../extending/building.rst:39
8185msgid ""
@@ -90,9 +94,8 @@ msgstr ""
9094":pep:`489`\\ 의 *\" 한 라이브러리에 여러 모듈\" * 절을 참조하십시오."
9195
9296#: ../../extending/building.rst:52
93- #, fuzzy
9497msgid "Building C and C++ Extensions with setuptools"
95- msgstr "distutils로 C와 C++ 확장 빌드하기"
98+ msgstr "setuptools로 C와 C++ 확장 빌드하기"
9699
97100#: ../../extending/building.rst:54
98101msgid ""
0 commit comments